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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...