Analytics Dashboard provides visual analytics of access related data based on the usage, performance, and events of Access Manager. The events are captured and filtered through Analytics Server. For more information about Analytics Server, click here.
The dashboard helps in visualizing the access patterns, tuning the policies, and getting insights about the usage of Access Manager in your environment. You can also monitor the real-time data access patterns to decide further actions.
Geolocation dashboard shows a map with the number of logged in users in a specific geographical location. This solution will demonstrate how to use Maxmind Geolocation Provider with Analytics.
Before using MaxMind, please read through the license agreement: https://www.maxmind.com/en/license_agreement
Create a java project and copy the JAVA code from the attached file. You need to have geoip2-2.9.0.jar, maxmind-db-1.2.2.jar and nam-aggregator-core.jar to your build path in order to compile and build the project.
This JAVA code reads the IP address and makes a query to MaxMind offline DB to get the city and country details of the IP and returns a GraphGeoLocaBean object to Analytics Aggregator to fill the map with geolocation.
Open Admin Console and go to Devices -> Analytic Servers -> Edit and click on Geolocation Provider.
Enable Location Profiling and provide following information:
Geolocation Provider: Custom Provider
Provider Name: MyMaxMindLocationProvider
Java Class Path: com.microfocus.custom.geolocationcore.MyMaxMindLocalDB
Property Name: citydbfile
Apply changes to Analytic servers.
Login to your NAM Protected Applications / Federation application from different geographic location you will see the county highlighted in the Analytics Geolocation dashboard.
Please feel free to contact me here if you have any issues.