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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...