Splunk Search

Problem in Lookup

abhayneilam
Contributor

Hi,

I am getting the below message when I am using lookup

my command .... | lookup "Full_CDI.csv" user_sso

Empty csv lookup file (contains only a header) for table 'Full_CDI.csv': C:\Program Files\Splunk\etc\apps\search\lookups\Full_CDI.csv

I have around 5,91,662 Data in my Full_CDI.csv file, but still I am not getting any data as a output , all the fileds are coming blank in the result set in SPLUNK but data is present in the CSV file..

Suggest me any solution for this !!
Thanks in Advance !!

Tags (2)
0 Karma

SplunkFu
Path Finder

What does the output look like if you run:

| inputlookup "Full_CDI.csv"

Make sure the csv is in UTF-8 and not ANSI, and is not just a poorly formatted excel document.

Hope this helps.

0 Karma

abhayneilam
Contributor

when I am seperately doing the below command :

|inputlookup "Full_CDI.csv"

then all the data I am getting as my result set

Please suggest !!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...