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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...