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

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Federated Search for Dynamic Data Self Storage Is Now Generally Available on Splunk ...

 Splunk is excited to announce the General Availability of Federated Search for Dynamic Data Self Storage ...

Index This | What has many keys but can’t unlock a door?

July 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...