Splunk Search

Automatic Lookup not applying to scripted inputs

jamesvz84
Communicator

I have implemented an automatic lookup by specifying the filename in transforms.conf:

[host_info]
filename = host_info.csv

and also defining the lookup in props.conf:

[source::*]
LOOKUP-host_info_for_windows = host_info host OUTPUTNEW ip,site,subnet

This is working for most sources, however I notice it is not working for my scripted input sources. It simply does not display the ip and site fields for those sources. Do I have to configure anything special for the automatic lookup to apply to the scripted input sources?

0 Karma

jamesvz84
Communicator

I ended up just explicitly calling a lookup for the scripted input sources. Not the most ideal solution, but it works.

search xxx | lookup host_info.csv host OUTPUTNEW ip | 
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 ...