Splunk Search

splunk lookup not working!

cassie90
New Member

Hi, I just created a static CSV file for the splunk lookup. But when I upload it, it didn't appear in the pick field. I follow the exact same step in the tutorial but it just didn't work out.

My CSV file has:

DestinationIP,owner_id,owner

118.214.191.45,1,Noam Freedman

209.85.175.106,2,Google Inc.

66.220.149.32,3,Facebook Inc.

124.155.223.9,4,NOC SHI

I would like the splunk to display whenever they lookup the IP address they would know the name of the owner. The destination ip address is already in my log file.

Tags (1)
0 Karma

e82than
Communicator

your pipe as in the key next to the right closing square brackets which you have to use when you do a stats command or an eval command.

give us an example (paste the search command) of your search string and let us see if you're doing the right thing?

0 Karma

cassie90
New Member

[Website1.zip:./Website/Website]
LOOKUP-find_owner_name = find_owner_name DestinationIP AS DestinationIP OUTPUTNEW owner AS owner owner_id AS owner_id

the above one is under props.conf

[find_owner_name]
filename = find_owner_name.csv

and this one is under transforms.conf

0 Karma

cassie90
New Member

what do you mean by my pipe?

0 Karma

rroberts
Splunk Employee
Splunk Employee

What did you have in your pipe to lookup command for input and output?

0 Karma

cassie90
New Member

yeap is inside already. But it didn't work at all. I can't seems to find it in the pick field.

0 Karma

JSapienza
Contributor

Did you verify the file exists in the users folder ? Example : /opt/splunk/etc/users/admin/search/lookups/

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...