Dashboards & Visualizations

geostats how to add the country name

azulgrana
Path Finder

Hi there!

I'm playing a bit with the geostats sample from the Splunk Dashboards Example App. The samples produces a map with a breakdown by method (GET / POST) based on the coordinates creates a pie chart on the location.

The sample query looks pretty simple...

| inputlookup geomaps_data.csv
| iplocation device_ip
| geostats latfield=lat longfield=lon count(method) by method

2020-09-25_10-36-33.png

I've tried adding the Country name to show up on the tooltip box but I didn't have any luck. My goal is to keep the breakdown for the methods to then color code the charts as well as add the Country name on top of the methods.

Any ideas on how can I accomplish that?

TIA!

Labels (1)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

Values shown up from field given in by clause. You can show up only two axis. Count and country or count and menthod.

————————————
If this helps, give a like below.

View solution in original post

thambisetty
SplunkTrust
SplunkTrust

Values shown up from field given in by clause. You can show up only two axis. Count and country or count and menthod.

————————————
If this helps, give a like below.

isoutamo
SplunkTrust
SplunkTrust

How about  values(country) on geostats?
r. Ismo

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...