Splunk Search

Custom iplocation

pjohnson1
Path Finder

We are currently the implication command to external IP addresses and it works great.

Is it possible to create a custom iplocation type lookup for sets of internal/corp IP ranges that we define too lookup cities and countries?

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi pjohnson1,
Yes, you have to create your own lookup containing the same information of the external addresses:

  • IP range,
  • latitude,
  • longitude,
  • city,

then you can add all the information you like, related to that location.

So you can call this lookup as a normal one using the IP address as a key.

Only one hint: put attention to the field names you use, it's easier to use the same of external addresses.

Ciao.
Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi pjohnson1,
Yes, you have to create your own lookup containing the same information of the external addresses:

  • IP range,
  • latitude,
  • longitude,
  • city,

then you can add all the information you like, related to that location.

So you can call this lookup as a normal one using the IP address as a key.

Only one hint: put attention to the field names you use, it's easier to use the same of external addresses.

Ciao.
Giuseppe

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