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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...