XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.0.5
    • Server (S)

      Hello,

      I have the following trigger

      which works perfectly but it does not clear out after 600 seconds because there is no activity on the log file.
      So i decided to add a "nodata" check, and the trigger now looks like

      {Logs:log[

      {#LOG_PREFIX}.log,"{$LOG_REGEXP}",,,skip].regexp(@queuesize,600)}=1 & {Logs:log[{#LOG_PREFIX}

      .log,"{$LOG_REGEXP}",,,skip].nodata(600)}=0

      which goes on error and I get the following:

      Evaluation failed for function: {server.com:log[/var/log/file.log,"{$LOG_REGEXP}",,,skip].regexp

      The regular expression bit is working perfect, so I think it has something to do with the nodata bit not working.

      Any suggestion? is this a bug or it is somehow expected?

            Unassigned Unassigned
            alledm Alessandro De Maria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: