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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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