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
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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...