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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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