-
Notifications
You must be signed in to change notification settings - Fork 81
Description
MaxMind publish their database specification and publish a Perl module for writing your own custom databases.
I would like to be able to use the GeoIP plugin to lookup custom data about IP addresses in Logstash, but that's not possible without pretending to be one of the supported database types. The specification states "[n]ames starting with "GeoIP" are reserved for use by MaxMind (and “GeoIP” is a trademark anyway)." so I really shouldn't have to do that. If I want to use my own custom fields, I don't have a lot of options other than sticking a JSON object in one of the fields and the json filter to pull out my custom data.
The database format is self-describing, so you should be able to fetch the data without a pre-defined schema for the custom database.