Splunk Search

When a value isn't present in my automatic lookup table, how can I return a default result of "not found"?

daniel333
Builder

All,

I have an automatic lookup table working great, however, when a value isn't in my lookup table, I was hoping to have a default result of "not found". Any idea how I would tackle that?

thanks!

0 Karma

woodcock
Esteemed Legend

Go to Settings -> Lookups -> Lookup Definitions
Click on your lookup definition, check the Advanced options checkbox
In the Default matches text box add not found, then save.

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