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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...