Hi,
I want to set a trigger on a item which checks for regex appearing in a logfile.
The trigger should be set as soon as an entry appears in logfile.
From what i have as choice in the list of expression .sum() is exactly imo what is needed here.
But on adding the trigger I get errormessage with this in details:
The handbook states that returntype for log[]...
How do I get the trigger created in a correct way?
I want to set a trigger on a item which checks for regex appearing in a logfile.
The trigger should be set as soon as an entry appears in logfile.
From what i have as choice in the list of expression .sum() is exactly imo what is needed here.
But on adding the trigger I get errormessage with this in details:
Code:
* Function (sum) available only for items with value types [Numeric (float),Numeric (integer 64bit)]
* Incorrect value type [Log] for function (sum) of key (TMPL_SCG_LOGGING:log[/var/log/192.168.102.32/syslog,test])
Must be set for keys log[].
Comment