Splunk Search

How to add a value from a lookup table to results, by using a field value from the search?

jrobar
New Member

I want to include a value from a lookup table in search results, by using a field value from the main search.

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

That's common and easy. Just add | lookup somelookupfile.csv <lookup field> AS <field name from the main search> to your query.
See https://docs.splunk.com/Documentation/Splunk/8.0.4/Search/Useexternalfieldlookups and https://docs.splunk.com/Documentation/Splunk/8.0.4/SearchReference/lookup for more information.

---
If this reply helps you, Karma would be appreciated.
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 ...