Splunk Dev

How can I get state/city when I already have lon/lat in my event?

daniel333
Builder

All,

So normally with iplocation and geostat I can lookup State, City etc for heatmaps. How ever with the log I have now I don't have the IP. How ever the log does have long/lat in it already. Anyway to do iplocation info backwards?

Tags (1)
0 Karma

somesoni2
SplunkTrust
SplunkTrust

I don't think you can extract IP using the long/lat values. If you want to use geostats type of aggregation, you should be able to do this

your current search | geostats latfield=lat longfield=long count by dest
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...