All Apps and Add-ons

How to calculate and map a country attribute based on GPS coordinates data?

MatMeredith
Path Finder

I have events in Splunk that contain GPS data -- longitude and latitude, and I can plot these on a map using either the built in Splunk maps support, or the Google maps app. What I'd really like though is to be able to filter events on e.g. country=US. Does anyone know of a way to calculate a country attribute based on GPS coordinates?

Thanks!

0 Karma

MuS
Legend

Hi MatMeredith,

Have you met http://dev.maxmind.com/geoip/legacy/codes/country_latlon/ yet?

You can use this as lookup, either manual or automatic.

hope this helps to get you started ...

cheers, MuS

Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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