Create recovery email notification

Hi:

I'm using Kibana 7.5 and have a watcher for sending out email alert when there is error in my application.

In addition to that, I'd like to setup another watcher which will send email notification when the error is gone.

I have managed to create such watcher but don't know how to send the recovery email only once.

Just wondering if there is any way to store a variable value in the watcher execution so that it can be reused in the following execution?

Many thanks in advance.

Jason

Hey,

unfortunately there is no way to carry over state from one watch execution to the next. You could implement this yourself, by querying the watch history using a chain input, and then check the condition of the previous execution.

Hope that gives you an idea.

--Alex

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.