Splunk Search

wildcard in lookup file

gudavasr
Path Finder

Hi,
My transform file:

 [taskname]
 REGEX = \b(Task\w+)\b
 FORMAT = taskname::$1

 props.conf
 REPORT-taskname = taskname

 lookup file:
 error, solution
 taskname, abcdef

this query works as I want:

   "Task*" "exception" | join error [ inputlookup lookupfile.csv | fields error, solution   
   |    rename apperror as taskname ] | table _time, source, taskname, solution

however: if I change transforms file like this:

 [taskname]
 REGEX = \b(Task\w+)\b
 FORMAT = taskname::$1
 match_type = WILDCARD(stname)

and in lookup file:

error, solution
taskname*, abcdef

Above query won't work. the doc says we can use wildcharacter but I am not getting what I am doing wrong. Can someone please help?

Tags (1)
0 Karma

bjoernjensen
Contributor

Did you look into this Question?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...