Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

Recursively monitor files in current directory and subdirectories upto a specified maxDepth

$
0
0
Is it possible to recursively monitor the files in a directory tree but only till a specified maxDepth? Example: I have a stanza in inputs.conf which says [monitor://A/B/] I want to monitor directories /A/B/C, /A/B/D I don't want to monitor directories /A/B/C/X or /A/B/D/Y Basically, anything which is deeper than 2 levels inside /A/B should not be monitored. Is it possible to implement this?

Viewing all articles
Browse latest Browse all 1551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>