Splunk Search

Lookup Table

Abha
Explorer

I am attempting to use an external lookup table against some twitter data.

My Transforms.conf file reads:
[HLookup]
filename = HLookup.csv

Props.conf reads:
[source_type_w]
LOOKUP-HLookup = HLookup w AS word OUTPUT|OUTPUTNEW e

I however get the error:
Could not find all of the specified lookup fields in the lookup table.' for conf 'source_type_w' and lookup table 'HLookup'.

I am at my wits end as to why this is happening.It looks simple enough 😞

Tags (1)

lguinn2
Legend

You have to pick either OUTPUT or OUTPUTNEW - you can't have both. For example:

[source_type_w]
LOOKUP-HLookup = HLookup w AS word OUTPUTNEW e

This setup also implies that the csv file starts with a header that looks like this:

w,e

Abha
Explorer

Thanks! 🙂

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, ...