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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...