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
SplunkTrust
SplunkTrust

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!

Index This | What’s a riddle wrapped in an enigma?

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

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...