Active alert for terminated instance

I've installed the elastic agent on some instances. On March 27 one instance generated an alert about hard disk available space. On March 31 the instance was terminated.

The problem is that the alert is still active. Technically, it was not recovered, but we should be able to set an expire like "close the alert after x days without data". If I filter for Today, this alert does not show up, but last 30 days it does.

Or am I missing some configuration which covers this case?

Hi @leandro.silva ,

Thank you for reaching out.

It is not possible to remove alerts manually from the UI or configure it to be closed after certain time. The alert status is updated automatically based on threshold conditions.

In the case where the instance no longer exists, the alert status will remain as is (active/recovered).