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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...