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!

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