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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...