Splunk Search

How to to add a field to a search using a lookup table?

adent
Explorer

I am trying to add a field to a search using a lookup table. However, my key field  is sometimes blank and I get an error the lookup table does not exist or is not available. 

... search with an output field of user

| lookup userList.csv id as user OUTPUT title

There are a few lines rows where id is blank and I do not have permissions to edit the table.

Labels (1)
Tags (3)
0 Karma

adent
Explorer

found one solution is to do the fillnull before the subsearch.  #337963

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...