Hello there
I'm working on log file monitoring. I did get the log working however i have one problem with a trigger i want to make.
This is my item
log[C:\Users\*\Desktop\TestLogFile.log]
And i want to create a trigger for this item
currently i have this
{Laptop Kenny:log[C:\Users\*\Desktop\TestLogFile.log].iregexp(error, #10)}=1
So when the word 'error' appears in the 10 recent values of the log it wil trigger
Now i want to make it so when the word 'error' appears more than for example 4 times it triggers,
I tried:
{Laptop Kenny:log[C:\Users\*\Desktop\TestLogFile.log].iregexp(error, #10)}>=4
But that doesn't seem to be working.
I'm working on log file monitoring. I did get the log working however i have one problem with a trigger i want to make.
This is my item
log[C:\Users\*\Desktop\TestLogFile.log]
And i want to create a trigger for this item
currently i have this
{Laptop Kenny:log[C:\Users\*\Desktop\TestLogFile.log].iregexp(error, #10)}=1
So when the word 'error' appears in the 10 recent values of the log it wil trigger
Now i want to make it so when the word 'error' appears more than for example 4 times it triggers,
I tried:
{Laptop Kenny:log[C:\Users\*\Desktop\TestLogFile.log].iregexp(error, #10)}>=4
But that doesn't seem to be working.