Geo IP
Fluentd GeoIP filter
Overview
Fluentd Filter plugin to add information about geographical location of IP addresses with Maxmind GeoIP databases. More information at https://github.com/y-ken/fluent-plugin-geoip
Configuration
GeoIP
backend_library (string, optional)
Specify backend library (geoip2_c, geoip, geoip2_compat)
geoip2_database (string, optional)
Specify optional geoip2 database (using bundled GeoLite2-City.mmdb by default)
geoip_database (string, optional)
Specify optional geoip database (using bundled GeoLiteCity databse by default)
geoip_lookup_keys (string, optional)
Specify one or more geoip lookup field which has ip address
Default: host
records ([]Record, optional)
Records are represented as maps: key: value
skip_adding_null_record (*bool, optional)
To avoid get stacktrace error with [null, null]
array for elasticsearch.
Default: true
Example GeoIP
filter configurations
Fluentd config result:
Last modified February 25, 2025: Merge pull request #273 from kube-logging/dependabot/github_actions/actions/setup-node-4.2.0 (e25e1fb)