How can a forwarder be setup to monitor files with a dynamic path?
For instance, I have a folder structure such as this:
`\\shared\tests\{DateTime.NOW}\logs\xxx_yyy_{DateTime.NOW}.xml`
`DateTime.NOW` represents the time which the xml file was generated. There will be multiple `{DateTime.NOW}` folders in the `\\shared\test` path.
I have tried some of the solutions stated here: https://answers.splunk.com/answers/33436/monitor-file-with-dynamic-directiory-name.html?utm_source=typeahead&utm_medium=newquestion&utm_campaign=no_votes_sort_relev
such as:
`\\shared\test\\logs\xxx*`
`\\shared\test...logs\xxx*`
`\\shared\test\...\logs\xxx*`
but they did not work.
Any help would be appreciated. Thanks!
↧