I am trying to use the commercial Anonymous IP database for the geoip filter and I'm not sure how to retreive the information from the database. I have Logstash updating the db and the right .mmdb is there I am just unsure about how to get the information though the geoip filter for that db. Can anyone point me in the right direction? all the examples in the plugin doc are for the basic databases
I'm not sure this database is supported, at least I see no referente to it in the code.
// The free GeoIP2 databases
private static final String CITY_LITE_DB_TYPE = "GeoLite2-City";
private static final String COUNTRY_LITE_DB_TYPE = "GeoLite2-Country";
private static final String ASN_LITE_DB_TYPE = "GeoLite2-ASN";
// The paid GeoIP2 databases
private static final String CITY_DB_TYPE = "GeoIP2-City";
private static final String CITY_AFRICA_DB_TYPE = "GeoIP2-City-Africa";
private static final String CITY_ASIA_PACIFIC_DB_TYPE = "GeoIP2-City-Asia-Pacific";
private static final String CITY_EUROPE_DB_TYPE = "GeoIP2-City-Europe";
private static final String CITY_NORTH_AMERICA_DB_TYPE = "GeoIP2-City-North-America";
private static final String CITY_SOUTH_AMERICA_DB_TYPE = "GeoIP2-City-South-America";
private static final String COUNTRY_DB_TYPE = "GeoIP2-Country";
private static final String ISP_DB_TYPE = "GeoIP2-ISP";
private static final String DOMAIN_DB_TYPE = "GeoIP2-Domain";
There is an old pull request to add support to the Anonymous database, but it was never merged.
Thank you for your help!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.