Matthew -
That is the correct regex to match, but the logmon probe replaces the
%Y%m%d-%H%M%S values with the system values at the time that the next scan interval runs.
So if you have the file:
Application.20191016-091003.log
but the probe kicks of the next scan at 9:10:04 on October 16, 2019, the file will not be scanned since it will be looking for the file:
Application.20191016-091004.log------------------------------
Kathy Maguire
Technical Support Engineer 4
Broadcom
------------------------------
Original Message:
Sent: 10-15-2019 09:59 PM
From: Matthew van Burgel
Subject: Logfile monitroing with date/time regex
What would be the regex to monitor a log file with the following name pattern:
Application.20190916-141941.log
Application.20191004-121003.log
I have tried:
Application.%Y%m%d-%H%M%S.log
thanks