SystemEDGE Log File monitoring based on date

Document ID : KB000006517
Last Modified Date : 14/02/2018
Show Technical Document Details

The requirement is to check log file entries for today's date and if the line also includes "N" to send an alert.

  • SytemEDGE regex is looking for a pattern match, but there is no way for the agent to automatically enumerate what today's date is.
  • The only way to satisfy this requirement would be to have the application alter the logging to create a new log file every 24 hours.
  • SystemEDGE supports rotating log files and will monitor the newest file.
  • You could then use a log file monitor agaisnt the most current file to match lines that have the N value.