Dashboards & Visualizations

GEOSTATS Rename value lat and lon in piechart

4nton10
Loves-to-Learn Lots

Hi everyone.

 

I am generating a cluster map which to make a count by log_subtype and in the map itself shows me the county and the latitude and longitude data.

The question here is whether I can replace the latitude and longitude data with the name of the country.

4nton10_0-1704829496478.png

 

I have the query as follows:

 

| iplocation client_ip
| geostats count by log_subtype
Labels (1)
Tags (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

You can't replace the lat/long, but you can add country to the log_subtype, i.e.

| iplocation client_ip
| eval type=log_subtype." (".Country.")"
| geostats count by type
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @4nton10

Thru geostats, it may be a long route, maybe please try "choropleth" maps

https://docs.splunk.com/Documentation/Splunk/9.1.2/Viz/ChoroplethGenerate

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...