I want to use File Content sensor to scan my log file for some alarming message. We are using log4net Rolling log for logging. Our log File name is something like HeadEndService_20200925.log. When I tried File Content sensor, it only accept a fixed log file name. I am wondering if it is possible to make the file name more flexible with some variation such as Date in out example?


Article Comments

Hello,

Thank you for your message.

Please have a look at this KB article where the subject is already discussed: https://helpdesk.paessler.com/en/support/solutions/articles/63406-file-content-sensor-dynamic-filename

Kind regards.


Sep, 2020 - Permalink