Splunk Search

How can I view the full city list that Splunk uses for iplocation?

MowLiao
New Member

Hi,

Does anyone know how I can view the full city list that Splunk uses for iplocation? I'm exporting my data, then using SAS to continue data processing, however, SAS has a specified set of city names within their own database, which don't match up with Splunk's cities.

E.g.
Splunk's database has "Bristol"
SAS's database has "Bristol, City of"

There're multiple occurrences of this which means my Splunk data is unusable within SAS because of this.

Thanks for your help.

0 Karma

gokadroid
Motivator

Splunk uses the GeoLite2-City.mmdb database for the iplocations. You can locate the file at $Splunk_Home/share.

  1. To view the City Names in the latest DB you can download the csv version from here or search for the java or python codes to open and read the mmdb file. (Not sure if Splunk has a command to to list all the iplocations stored in the DB)
  2. In case you need to update the City location db, see here or see Splunk blog here.

Maybe if SAS uses mmdb as well then you can synch up the GeoLite2-City.mmdb file and might see the info as expected.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...