frcrawler-scripts/dev/config/dict.config.d/geolite_asn_blocks_ipv4.xml
Gaël Berthaud-Müller 38679a009a add all files
2024-03-06 14:49:11 +01:00

39 lines
1.3 KiB
XML

<?xml version="1.0"?>
<dictionaries>
<dictionary>
<name>geolite_asn_blocks_ipv4</name>
<database>external</database>
<source>
<file>
<path>/etc/clickhouse-server/dictionaries/GeoLite2-ASN-Blocks-IPv4.tsv</path>
<format>TSVWithNames</format>
</file>
</source>
<lifetime>300</lifetime>
<layout>
<ip_trie>
<!-- Key attribute `prefix` can be retrieved via dictGetString. -->
<!-- This option increases memory usage. -->
<access_to_key_from_attributes>true</access_to_key_from_attributes>
</ip_trie>
</layout>
<structure>
<key>
<attribute>
<name>network</name>
<type>String</type>
</attribute>
</key>
<attribute>
<name>autonomous_system_number</name>
<type>UInt32</type>
<null_value>0</null_value>
</attribute>
<attribute>
<name>autonomous_system_organization</name>
<type>String</type>
<null_value>?</null_value>
</attribute>
</structure>
</dictionary>
</dictionaries>