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
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...