All Apps and Add-ons

AmMap realtime view is not showing the locations with respect to real time ?

ranjyotiprakash
Communicator

In my custom splunk app, which reads the logs generated by Barracuda web Application Firewall. I have a dashboard which has amMap flash map to show the location of client_ip present in the logs. But, the map is showing incorrect location for the client_ip.

The app is having two views as it is in amMap Splunk app - one is showing the count of IPs for all time and second is showing the count of IPs for the last 1 hour realtime. But the realtime map is showing the same results on the map as it is on the first map.

How can the realtime map be configured to show only the last 1 hour results on the map ?

Thanks..

0 Karma
1 Solution

lloydd518
Path Finder

Have you made your searches write their output to two separate XML files?

eval output_file="flash_map1_data.xml" | eval app="amMap" | lookup geoip clientip as src_ip | mapit.....

eval output_file="flash_map2_data.xml" | eval app="amMap" | lookup geoip clientip as src_ip | mapit

And edit the HTML flash code to read from these two separate files?

View solution in original post

0 Karma

lloydd518
Path Finder

Have you made your searches write their output to two separate XML files?

eval output_file="flash_map1_data.xml" | eval app="amMap" | lookup geoip clientip as src_ip | mapit.....

eval output_file="flash_map2_data.xml" | eval app="amMap" | lookup geoip clientip as src_ip | mapit

And edit the HTML flash code to read from these two separate files?

0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>