Update the geolocation database used in dashboards
The Security Monitoring module tracks security violations on F5 WAF for NGINX 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 so your dashboards show accurate geolocation data.
Make sure you have the following:
- F5 WAF for NGINX is set up, 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 get the GeoLite2 Country database file,GeoLite2-Country.mmdb. -
Copy the new
GeoLite2-Country.mmdbfile to/usr/share/nms/geolite2/GeoLite2-Country.mmdbon the NGINX Instance Manager control plane, replacing the existing file: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:
shell sudo systemctl restart nms-ingestion sudo systemctl restart nms-core