XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: