README.md in fluent-plugin-geoip-0.1.1 vs README.md in fluent-plugin-geoip-0.2.0
- old
+ new
@@ -42,22 +42,22 @@
# Specify one or more geoip lookup field which has ip address (default: host)
# in the case of accessing nested value, delimit keys by dot like 'host.ip'.
geoip_lookup_key host
- # Specify geoip database (using bundled GeoLiteCity databse by default)
- geoip_database 'data/GeoLiteCity.dat'
+ # Specify optional geoip database (using bundled GeoLiteCity databse by default)
+ geoip_database '/path/to/your/GeoIPCity.dat'
# Set adding field with placeholder (more than one settings are required.)
<record>
city ${city['host']}
latitude ${latitude['host']}
longitude ${longitude['host']}
country_code3 ${country_code3['host']}
- country ${country['host']}
+ country ${country_code['host']}
country_name ${country_name['host']}
- dma ${dma['host']}
- area ${area['host']}
+ dma ${dma_code['host']}
+ area ${area_code['host']}
region ${region['host']}
</record>
# Settings for tag
remove_tag_prefix access.