I have set up email alerts for uptime down and recover status. But with recovered status, values for alert variables like state.monitorName, state.monitorUrl are not coming.
Version is 7.12.1
I have set up email alerts for uptime down and recover status. But with recovered status, values for alert variables like state.monitorName, state.monitorUrl are not coming.
Version is 7.12.1
Hi @dyadav. Apologies for the delay.
Unfortunately this is a limitation on our side. These variables aren't working properly for resolve actions.
There is an issue to track AlertTypes can't provide an AlertInstanceContext on recovery · Issue #87048 · elastic/kibana · GitHub .
In 7.13.0 we have improve the functionality a bit if you enable alerts using the toggle in the monitor list. The resolved message for alerts created with this toggle will include monitor name and url. However, alerts created with the alert dropdown on the Uptime page will still experience the issue you've described.
Thank you Dominique for the update. Will try the toggle option after upgrading to 7.13.0
This topic was automatically closed 24 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.