GeoIP2 Filter
GeoIP2 Filter allows you to enrich the incoming data stream using location data from GeoIP2 database.
Getting Started
The following configuration will process incoming remote_addr
, and append country information retrieved from GeoLite2 database.
- The field name to be added to records (
country
) - The query for GeoIP2 database (
%{country.names.en}
)
By running Fluent Bit with the configuration above, you will see the following output: