Update the geolocation database used in dashboards
The F5 NGINX Security Monitoring module tracks security violations on NGINX App Protect WAF instances. It uses MaxMind’s GeoLite2 Free Database to provide geolocation data in analytics dashboards.
Follow these steps to update the Security Monitoring module with the latest geolocation database, ensuring dashboards display accurate geolocation data.
Ensure the following prerequisites are met:
- NGINX App Protect is configured, and the Security Monitoring dashboard is collecting security violations.
-
Create a MaxMind account and subscribe to receive updates for the GeoLite2 database.
-
Download the GeoLite2 Country database (Edition ID: GeoLite2-Country) in GeoIP2 Binary
.mmdbformat from the MaxMind website. The database is included in a.gzipfile. -
Extract the
.gzipfile to access the GeoLite2 Country database file, namedGeoLite2-Country.mmdb. -
Replace the existing
GeoLite2-Country.mmdbfile on the NGINX Instance Manager control plane at/usr/share/nms/geolite2/GeoLite2-Country.mmdbwith the new database:sudo scp /path/to/GeoLite2-Country.mmdb {user}@{host}:/usr/share/nms/geolite2/GeoLite2-Country.mmdb -
Restart the NGINX Instance Manager services to apply the update:
bashsudo systemctl restart nms-ingestion sudo systemctl restart nms-core