Archive

Can I change the default viewpoint for the AmMap map in the Splunk for Cisco Security App?

Path Finder

I am installing the Splunk for Cisco Security application for a company in Africa and would like to have the realtime and other maps focus in on the correct region.

Is there a way to do this? Any hints on configuring the correct longitude and latitude?

Thanks, Stephan

Tags (2)
0 Karma

Splunk Employee
Splunk Employee

What you'll have to do is modify the cisco_map_results.py inside the bin folder of the Cisco Security App (/opt/splunk/etc/apps/Splunk_CiscoSecuritySuite/bin/cisco_map_results.py).

The specific line that dictates the map view is below:

 xml_out =  '<map map_file="maps/world.swf" tl_long="-168.5" tl_lat="83.50" br_long="190" br_lat="-55" '+zoom+' >\n '+borders+'\n\t<movies>\t\n' + movies_string + '</movies></map>'

Modify your long and lat according to the region you prefer.

0 Karma