Summarizing Alerts Elasticsearch


I am trying to setup summarised alerting for log monitoring as:

If there is an alert condition within 1 minute send me an alert on 00 seconds of the next minute via e-mail.
If on next minute there are other alerts I want the same notification.

The problem I am trying to solve is:
After sending the alert I want the alert to go to OK state immediately.