Geolocation with Systemd
Scouter Analytics uses MaxMind geolocation databases to record data from user visits.
Either download a copy of the IP database directly from MaxMind and tell Scouter Analytics where to find it
/etc/systemd/system/analytics.service.d/geolocation.conf
[Service]
Environment=MMDB_PATH=/var/lib/scouter/ipdb.mmdb.gz
Or provide Scouter Analytics with a MaxMind API key and have the application download the database on startup. MaxMind have a strict API limit.
/etc/systemd/system/analytics.service.d/geolocation.conf
[Service]
# Download the GeoIP database on application startup
# https://support.maxmind.com/hc/en-us/articles/4407111582235-Generate-a-License-Key
Environment=MAXMIND_API_KEY=