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!

Federated Search for Snowflake Is Now Generally Available on Splunk Cloud Platform

Unlocking Data-In-Place Search Across Splunk and Snowflake  Enterprise data is increasingly distributed across ...

Help Us Build Better Splunk Regex Puzzles (And Win Prizes!)

If you’ve spent any time in the Splunk Community Slack, you’ve likely seen our resident Splunk Trust ...

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...