Splunk Enterprise

lookup

VijaySrrie
Builder

Hi,

In lookup definition,

IT_server_list is created in lookup definition which is mapped to CSV named (server_list.csv)

In Lookup Table,

server_list.csv file is there

In automatic lookup,

IT_server_list is created

why do we need automatic lookup?

 

0 Karma
1 Solution

venkatasri
SplunkTrust
SplunkTrust

Hi @VijaySrrie 

Your transforms.conf should be having lookup definition, that is enough for you to run | lookup command in UI.

What if the search events to be enriched automatically by adding additional field when someone search the sourcetype/host/source. Then props.conf automatic lookup LOOKUP-<class>=  syntax works.

Docs says: you can optionally create an additional props.conf configuration that makes the lookup "automatic." This means that it runs in the background at search time and automatically adds output fields to events that have the correct match fields.

Splunk user doesn't need to use | lookup command everytime, if automatic lookup been configured one time. Refer - Make your lookup automatic - Splunk Documentation

---

An upvote would be appreciated and Accept solution if this reply helps!

View solution in original post

venkatasri
SplunkTrust
SplunkTrust

Hi @VijaySrrie 

Your transforms.conf should be having lookup definition, that is enough for you to run | lookup command in UI.

What if the search events to be enriched automatically by adding additional field when someone search the sourcetype/host/source. Then props.conf automatic lookup LOOKUP-<class>=  syntax works.

Docs says: you can optionally create an additional props.conf configuration that makes the lookup "automatic." This means that it runs in the background at search time and automatically adds output fields to events that have the correct match fields.

Splunk user doesn't need to use | lookup command everytime, if automatic lookup been configured one time. Refer - Make your lookup automatic - Splunk Documentation

---

An upvote would be appreciated and Accept solution if this reply helps!

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...