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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...