Log Monitoring and Notification Tools
Feeds - Monitoring Logs
ANSWERS
  1. Our software writes to a log file but every hour/day the log file name change how can I monitor such a log?
    If a log is distributed across one or more files, you can tell LogMeister how to recognize the logs. You can either specify the names of all the logs that are to be used, or you can enter a file spec and/or regular expression that will match the necessary file names.

    For example:

    If you wanted to match the files mylog1.txt, mylog2.txt.....mylog9.txt:

    '*.*' entered into the 'Spec' text box would match mylog1.txt, mylog2.txt, and so on, but also someotherfile.exe and someothertextfile.txt

    'mylog*.txt' would match mylog1.txt, mylog2.txt, and so on, but also mylog99.txt.

    You can further refine file selection by entering a regular expression in the 'Filter by regular expression' text box.

    For example:

    'mylog[1-9]\.txt' would limit both of the above file specifications to match only files in the range mylog1.txt to mylog9.txt

    You will be given the opportunity to do this on the first page of the Text Log Feed Wizard - just check the 'Other Files' box and enter your filenames or your regular expression in the boxes provided.

    LogMeister will only process the files that have been modified since the last polling period. The time taken to check whether a file has been modified is negligible, so in your situation LogMeister will effectively monitor the most recent log only.


    [Back to top]
Jump to: