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!

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