Ad Widget

Collapse

Monitoring multiple Logfiles

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mwildam
    Member
    • Feb 2021
    • 72

    #1

    Monitoring multiple Logfiles

    If I have a bunch of logfiles in a folder, what is the best way to monitor them?
    In the log key of active agent checks it seems that placeholders like * are not supported.
    Do I need to create an item for each possible logfile (assuming I always want to watch out for the same keyword(s) in each log)?
  • mfortes
    Senior Member
    • Oct 2019
    • 415

    #2
    Assuming that all files have the same extension. U can use that, like this example >
    logrt["K:\Impact360\Data\Logs\integrationservice\*.log", ,,,,]
    If any file can be read... this iten will broke... That way, u'll need to create itens with regex


    Michael R. Fortes

    Linkedin: Mike Fortes
    Medium: mromeiro-f

    Comment

    • mwildam
      Member
      • Feb 2021
      • 72

      #3
      Thanks for responding!
      As far as I understood, logrt considers all logs belonging together and only the most recent file is read (interpreting the older ones as history). In my case they are created by different batch jobs.

      Comment

      Working...