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!

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

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

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...