Create link for end user to ack watcher email

(David Tomasheski) #1

I have a watch that shoots off an email which works great. I would like to add a link to the email so the end user can click it to ack the email so he doesn't keep getting emails about the same issue. Is there a way to do this? Thanks in advance.

(Julien) #2

It is possible to use so watcher action is ignored till condition is false once again. A link in an email would send a get request so you will need some application layer to send a post or put request

Also another way without ack is to define a throttle time so you limit amout of alerts for a defined amount of time

(David Tomasheski) #3

I had read that page before and while it seems to show how I could do it from a POST in the Dev Tools console. What I was really looking for was some kind of html link that I could put inside the email from watcher so my end user doesn't have to log into Kibana at all. Is there a way to do that?

(Julien) #4

No this is not directly possible.
A link in an email would send a get request and should not contain credentials (as it would expose those credentials), while you will need to issue a post request with some credentials

So one solution would be to develop a web application which sends the post request including the authentication using some general account if you do not want the user to login.
You might also want to open a support case so we can keep track of your requirements and possibly give more detailed advise if this did not suffice

(system) #5

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