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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...