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

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

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