Getting Data In

Can I route based on wildcard source

lrhazi
Path Finder

Can I say this?

[source::/usr/local/blackboard/*]
TRANSFORMS-routing=otherRouting

In my inputs, I have pretty long list of such files, some with wildcards themsleves... Can I route all of it with one stanza in the props.conf.

0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

Yes. However you should note that "*" only matches with a directory segment, so if you want files within subdirectories to be routed, you should use "..." instead.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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