Greetings.
Cant configure a trigger to monitor a log file so that it works on the condition “If there was value A and there was no value B within 1 minute.” In the latest data, the records look like this:
I try
This does not work correctly and the trigger fires on every "started".
Please give me advice on how to set this up correctly?
Cant configure a trigger to monitor a log file so that it works on the condition “If there was value A and there was no value B within 1 minute.” In the latest data, the records look like this:
Code:
024-01-08 06:43:45 DEBUG[01-08|06:42:32.947] notification started 2024-01-08 06:43:45 DEBUG[01-08|06:42:43.061] notification completed
Code:
find(/server/log[/var/log/example.log,DEBUG],1m,"like","notification started")=1 and find(/server/log[/var/log/example.log,DEBUG],1m,"like","notification completed")=0
Please give me advice on how to set this up correctly?
head is full of cotton....
Comment