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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...