Splunk Search

Is it possible to use wildcards in tag definitions?

HeinzWaescher
Motivator

Hi,

is it possible to use a wildcard in the field value pair settings?

This way doesn't work for me:

field value pair: referral=A*

tag name: campaign1

BR

Heinz

Labels (1)
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

No. That won't work. But you can get around it using eventtypes.

eventtypes.conf
[a_referral]
search = referral=A*

tags.conf
[eventtype=a_referral]
campaign1 = enabled

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

No. That won't work. But you can get around it using eventtypes.

eventtypes.conf
[a_referral]
search = referral=A*

tags.conf
[eventtype=a_referral]
campaign1 = enabled

HeinzWaescher
Motivator

thanks a lot!

0 Karma

fabiocaldas
Contributor

great anwser

0 Karma
Get Updates on the Splunk Community!

.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 ...

Introducing the 2024 SplunkTrust!

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