Splunk Search

Data not showing on map

rishabhpatel20
Explorer

Hello, I have lookup file uploaded and now I want to see the data, I am not able to see it on map , I can see the details in table tough , this is the query and this is the sample of output . Map is blank

| inputlookup geolocation.csv
| eval lat=tonumber(trim(latitude)), lon=tonumber(trim(longitude))
| where isnotnull(lat) AND isnotnull(lon)
| table cluster_name lat lon avg_cpu_load avg_mem_load

---------------------------------
This is the output I get 

cluster_namelatlonavg_cpu_loadavg_mem_load
ab.com63.3441204-8.267336896.8878.55
bc.com48.940162.834658755.4995.49
fg.com31.5669826129.97823521119.86




Labels (1)
Tags (3)
0 Karma

gcusello
SplunkTrust
SplunkTrust

@rishabhpatel20 ,

see the usage of geostats (https://help.splunk.com/en/splunk-enterprise/search/spl-search-reference/9.4/search-commands/geostat...) to display in a map your data.

Ciao.

Giuseppe

0 Karma

rishabhpatel20
Explorer

I see, but with this I am not able to see the data as I want, Iike I want to see the hostname on map and when point out on host it shows average CPU and memory utlization

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!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...