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 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...