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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...