Splunk Search

I have a Field which display source city, but I dont have the longitude and latitude details, needs to show the cities on Map with count

deepak_dhankhar
Explorer

index=XXXX eventtype=XXXXX | iplocation src_ip | geostats globallimit=0 count by src_ip

its not working

Field I have in result is src_city which consist of city names

Tags (1)
0 Karma
1 Solution

adonio
Ultra Champion

Hello there,
take a look at this answer:
https://answers.splunk.com/answers/148542/how-to-plot-data-on-the-splunk-map-from-lookup-data-using-...
you can find a table online that has cities and geolocation coordinates, save as a lookup and refer to it in your search

hope it helps

View solution in original post

0 Karma

adonio
Ultra Champion

Hello there,
take a look at this answer:
https://answers.splunk.com/answers/148542/how-to-plot-data-on-the-splunk-map-from-lookup-data-using-...
you can find a table online that has cities and geolocation coordinates, save as a lookup and refer to it in your search

hope it helps

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...