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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...