Splunk Search

Displaying 'Unknown' when Lookup fail to find a match

DotTest37
Path Finder

I have an Automatic Lookup working just fine.
Some of the values Im matching doesn't exist yet on the CSV table (they are populated once a day).
Is there any way to display UNKNOWN as a value for the field when the lookup doesnt exist on the table?
For example, if my csv lookup table looks like:
Name -- SSN

And Sometimes I dont have the Name for a SSN until the next day, so I need to mark the field as 'Unknown' when the search returns a SSN that I dont have match for the name yet.

Thanks!

Tags (2)
1 Solution

carmackd
Communicator

Manager >> Lookups >> Lookup Definition >>

check the advanced options checkbox

In the Minimum matches text box add:
1

In the Default matches text box add:
UNKNOWN

then save

View solution in original post

carmackd
Communicator

Manager >> Lookups >> Lookup Definition >>

check the advanced options checkbox

In the Minimum matches text box add:
1

In the Default matches text box add:
UNKNOWN

then save

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