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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...