Splunk Search

how to preserve iplocation data

imrago
Contributor

The database used by iplocation is updated usually with each new version of Splunk. What is the best solution to preserve the changes? For example a particular IP address might have had a different geolocation last year then it has now.

0 Karma
1 Solution

MuS
Legend

Hi imrago,

if you use a customised path for your iplocation DB using limits.conf

[iplocation]

db_path = <path>
* Absolute path to GeoIP database in MMDB format
* If not set, defaults to database included with splunk

it will not get updated by any Splunk version update.

Hope this helps ...

cheers, MuS

View solution in original post

0 Karma

MuS
Legend

Hi imrago,

if you use a customised path for your iplocation DB using limits.conf

[iplocation]

db_path = <path>
* Absolute path to GeoIP database in MMDB format
* If not set, defaults to database included with splunk

it will not get updated by any Splunk version update.

Hope this helps ...

cheers, MuS

0 Karma

imrago
Contributor

Thanks, that solution will preserve the old values, but for new events it would be preferable to use the latest database. Something like we have with the time based lookups in Splunk.

0 Karma

MuS
Legend

Well, in this case it would be best for you to create your own lookup table based no your requirements, because this can only be handled by yourself, based on your requirements.

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...