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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...