Getting Data In

inputs.conf files starting and ending with different patterns

splunk_zen
Builder

I'm sure I'm missing something,
but is there any way to get an input stanza equivalent to unix

ls /opt/logs/connectors/{app1-*,*-service}.log
/opt/logs/connectors/foo-service.log    
/opt/logs/connectors/bar-service.log
/opt/logs/connectors/app1-foo.log
/opt/logs/connectors/app1-bar.log
Tags (2)
0 Karma

somesoni2
Revered Legend

Try this

[monitor://opt/logs/connectors/(app1-*|*-service).log]
..other configurations..
........
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...