Splunk Search

Lookup wildcard

bosseres
Contributor

Hello,

I need a help with using wildcards in lookup. 

I want to exclude from search results fields, which are located in lookup.

Example:

Search: host=*  | search NOT [| inputlookup test_lookup.csv]
Lookup test_lookup.csv containts two fields:

exe,comm

/usr/sbin/useradd,*

 

I need to exclude all results which include exe="/usr/sbin/useradd" and any *comm* field.

I added WILCARD(comm) in lookup definitions, but it doesn't work.

transforms.conf

[test_lookup.csv]
batch_index_query = 0
case_sensitive_match = 1
filename = test_lookup
match_type = WILDCARD(comm)

 

What I did wrong? Thank you.

Labels (1)
0 Karma

bosseres
Contributor

up

0 Karma

bosseres
Contributor

up

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

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

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...