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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...