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
Revered Legend

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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...