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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

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