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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...