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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...