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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...