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!

Infographic provides the TL;DR for the 2023 Splunk Career Impact Report

We’ve been shouting it from the rooftops! The findings from the 2023 Splunk Career Impact Report showing that ...

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...