Geo IP
The Geo IP processor is a lookup processor that can return geolocation and IP intelligence information for a specified IP address.
The Geo IP processor uses MaxMind GeoIP2 database files for the lookup. You must provide your own copy of the database files.
To use the Geo IP processor, you specify the location of the database files and the database types that you want to use. You enter one or more IP address input fields, name the corresponding output field, and specify the return information that you want. You can also configure the action that the processor takes if the database files do not have an IP address.
The input field must be an Integer or String data type that passes IPv4 or IPv6 addresses.
Supported Databases
- Anonymous IP
- City
- Country
- Connection Type
- Domain
- ISP
Database File Location
To use the Geo IP processor, save the MaxMind GeoIP2 database files that you want to use in a directory local to the Data Collector or in the Data Collector resources directory: $SDC_RESOURCES.
Then, specify the location of the database file when you configure the processor.
GeoIP Field Types
Each GeoIP2 database provides a different set of information that you can request. When you configure the processor, be sure to request information that exists in the databases that you are using.
For example, if you configure the processor to use the City and Country databases, do not request domain information. To return domain details, you need to use the Domain database.
In the processor, you request return values by defining the GeoIP Field Type property.
Database | Valid GeoIP Field Types |
---|---|
Anonymous IP |
|
City |
|
Country |
|
Connection Type |
|
Domain |
|
ISP |
|
Full JSON Field Types
The GeoIP processor provides a Full JSON field type for each database. The Full JSON field type returns all available data in the dictionary for the specified IP address.
Use the Full JSON field type when the information that you want is in a database, but not available as one of the field types in the processor.
The Full JSON field type returns a JSON object with all available data. You can use a JSON Parser processor downstream to parse the object and extract the information that you need.