Webhook is not triggered when alert is cleared

Right now we have configured our Kibana to send an HTTP call towards BigPanda which collects all our alerts. This is working fine whenever an alert occurs.
Our trigger is configured with the following code :

for (int i = 0; i < ctx.results[0].hits.hits.length; i++) {
  if (ctx.results[0].hits.hits[i]._source.responseCode == 100) {
    return true;
  }
}
return false;

However when the alert is cleared there is no way how we can forward that “success” or clearance of the alert to our alert tool BigPanda.

A github issue is already raised for this problem : https://github.com/opendistro-for-elasticsearch/alerting/issues/28

1 Like