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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...