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!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...