Getting Data In

Monitor directory with wildcards but not recursively

Cuyose
Builder

Splunk documentation is incorrect, as it states you should be able to do something like this :

[monitor:///ebs/*/var/log/access.log]

and it should pick up al these:

/ebs/why/var/log/access.log
/ebs/doesnt/var/log/access.log
/ebs/this/var/log/access.log
/ebs/work/var/log/access.log

so my question is, how do we do this?

Tags (3)
0 Karma

mikebd
Path Finder

Did you try explicitly setting recursive = true?
Reference: Inputs.conf

0 Karma
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...