Dashboards & Visualizations

How to plot a country on a map ?

nyasharashad59
Explorer

Good day good people

I am trying to get a map of Zimbabwe on a dashboard but it keeps giving me a world map

source=my_data_source.csv | lookup geo_zimbabwe longitude as Lon, latitude as Lat | stats count by featureId | geom geo_zimbabwe

Any idea on how i can plot Zimbabwe and its cities?

Thanks

0 Karma

niketn
Legend

@nyasharashad59, Add the following to simpleXML configuration:

<option name="mapping.map.center">(19.21,31.17)</option>
<option name="mapping.map.zoom">6</option>

Refer to Splunk documentation for details: http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#map

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...