Splunk Search

Why is my lookup with a single column not working?

Log_wrangler
Builder

I have a CSV of filenames.

The column header name in the CSV is indicator_F. Index=main has a field = file, which are filenames.
I want to match indicator_F values to file values.

Here is my query ...

index=main |lookup file_hits.csv indicator_F AS file | table file indicator_F

But I keep getting errors...

Error in 'lookup' command: All of the fields in the lookup table are specified as lookups, leaving no destination fields.

Not sure what I am doing wrong here...

Please advise.

Thank you!

Tags (3)
0 Karma
1 Solution

Log_wrangler
Builder

added a column in front of the other, and it works... IDK why but it does.

View solution in original post

0 Karma

Log_wrangler
Builder

added a column in front of the other, and it works... IDK why but it does.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...