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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...