Hi
Now I'm working with many sub directories. I want to monitor some directories and don't want to monitor others.
This is example folder that I want to monitor and ignore some folder.
/home/user/2016-02-31/01/local3/
/home/user/2016-03-01/01/local3/
/home/user/2016-03-02/01/local7/
/home/user/2016-03-05/01/local3/
I want to monitor every folder dated in March and ignore folders dated in February.
I don't know how to configure inputs.conf. Now I'm using CLI (add monitor) for each folder.
[monitor:///home/user/......./*]
<< I don't know how to ignore folder on Feb.
Please kindly advise me.
Thank you
The inputs.conf
blacklist
feature should be serviceable for you:
[monitor:///home/user/......./*]
blacklist = /home/user/\d\d\d\d-02-\d\d/.*
The inputs.conf
blacklist
feature should be serviceable for you:
[monitor:///home/user/......./*]
blacklist = /home/user/\d\d\d\d-02-\d\d/.*
Thank you 🙂