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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...