# Self-healing alerts in Kibana Alerts

**URL:** https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350
**Category:** Kibana
**Created:** [February 15, 2021, 6:52pm UTC](https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350 "2021-02-15T18:52:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![slord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slord/32/80193_2.png) [@slord](https://discuss.elastic.co/u/slord)
#### Post date: [February 15, 2021, 6:52pm UTC](https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350/1 "2021-02-15T18:52:40Z")

</div>

I'm using the Index action in Kibana Alerts, and I've got a metric threshold alert.

I want to have something in the index to say when an alert is resolved - I've tried adding `{{context.alertState}}` to the payload but the action only triggers for "ALERT", and not for the resolution.

Is it possible to have these triggers? Do I need to build the alert in Watcher for this?

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [February 15, 2021, 7:08pm UTC](https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350/2 "2021-02-15T19:08:23Z")

</div>

Hi @slord the ability for an alert to trigger Fired and Resolved actions was just released in 7.11.

What version are you running?

This is brand new, and I think there is a small glitch with the action on Resolved fired more than once, that bug is already addressed and should come in a patch release soon, but the Resolved action is definitely there in 7.11 , I have tested it myself.

---

<div class="post-metadata">

### Author: ![slord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slord/32/80193_2.png) [@slord](https://discuss.elastic.co/u/slord)
#### Post date: [February 15, 2021, 7:12pm UTC](https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350/3 "2021-02-15T19:12:41Z")

</div>

Ooh, I'm running version 7.10 - I'll be updating tonight then!

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [February 15, 2021, 7:14pm UTC](https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350/4 "2021-02-15T19:14:32Z")

</div>

And here is the bug and looks like it should be in 7.11.1 soon. That only applied to metrics threshold

> <https://github.com/elastic/kibana/pull/91039>

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 15, 2021, 7:14pm UTC](https://discuss.elastic.co/t/self-healing-alerts-in-kibana-alerts/264350/5 "2021-03-15T19:14:34Z")

</div>

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