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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

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