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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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