I've an item that monitor log file,
and another item that run log.count on the same file.
My trigger is set to alert if count > 0
and recover when count = 0
In my action I would like to get the value of the last log line
that match the regex but I actually get the count value since it triggered the alert.
Is there a way to achieve such thing that use one trigger but actually send the value of another item ?
and another item that run log.count on the same file.
My trigger is set to alert if count > 0
and recover when count = 0
In my action I would like to get the value of the last log line
that match the regex but I actually get the count value since it triggered the alert.
Is there a way to achieve such thing that use one trigger but actually send the value of another item ?