Getting Data In

How to search lookups to find an IP address which is forgotten?

10061987
Engager

Hi all,

I created a lookup 6 months ago and now i have hundreds of lookup and i forgot what was it's name. I am looking for an IP address in which lookup it is but i couldn't find a way to do this. I want to find out which lookup an IP address is in.

Any help would be appreciated!

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

If you have console access to your SH, you might do it with (assuming that you're looking for 1.2.3.4 and your Splunk is installed in default place):

find /opt/splunk -type f -path \*/lookups/\* -print0 | xargs -0 grep '1\.2\.3\.4'

 

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...