Splunk Search

Replace map markers by piecharts

Dreads94
Explorer

Hey there!

We just updated to Splunk 6 and I wanted to create a new panel with the new integrated maps. That was easy to realize...but now I would like to replace the markers of the search results by pie charts. Unfortunately, I've absolutely no idea how to do it.

Please help. Thanks!

0 Karma
1 Solution

wpreston
Motivator

There is an example using piecharts on a map in the Splunk 6 Dashboard Examples app. I believe you just use the geostats command, like this:

... <your search string> ... | geostats latfield=lat longfield=lon count by <yourField>

From the docs on geostats:

You can now display geographic data and summaries on maps directly within Splunk. To do so, first run your reporting search with geostats, save it as a report or to a dashboard, then edit the Simple XML to include the visualization element. For more information, see:

"Visualization reference" in the Splunk Data Visualizations Manual.

The map element in the Simple XML Reference.

View solution in original post

wpreston
Motivator

There is an example using piecharts on a map in the Splunk 6 Dashboard Examples app. I believe you just use the geostats command, like this:

... <your search string> ... | geostats latfield=lat longfield=lon count by <yourField>

From the docs on geostats:

You can now display geographic data and summaries on maps directly within Splunk. To do so, first run your reporting search with geostats, save it as a report or to a dashboard, then edit the Simple XML to include the visualization element. For more information, see:

"Visualization reference" in the Splunk Data Visualizations Manual.

The map element in the Simple XML Reference.

Dreads94
Explorer

Thank you!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...