Skip to main content

The purpose of this plugin is to connect to maxmind geolite2 and retrieve location data.

Project description

GeoLite2 plugin

This plugin reads connects geoIP servers and returns localisation based on the provided ip address.

Configuration

Example:

{
  "source": {
    "id": "5600c92a-835d-4fbe-a11d-7076fd983434"
  },
  "ip": "payload@ip"
}

To run this plugin you must provide source id that has configured GeoLite2 server credentials.

Example of source configuration for GeoLite2 API:

{
  "webservice": {
    "accountId": <you-account-id>,
    "license": <license-key>
  }
}

You must provide license-key and account-id to connect to MaxMind GeoLite2 API.

Example of source configuration for GeoLite2 local database file:

{
  "database": <path-to-database>
}

If you provide local database for city locations you can use it locally without connecting to remote API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracardi-maxmind-geolite2-0.1.5.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page