Hello, I would like to use an alert to notify me of a snapshot failure. However, I quickly find myself limited because I am unable to define the type of monitor (Per query or per cluster metrics monitor).
I need to retrieve the last 4 snapshots, and if any of them are not in the SUCCESS state, I should receive an email notification.
@Akinator To monitor snapshot failures in OpenSearch you should use a Per Query Monitor.
And Cluster metrics monitors are designed to alert on metrics like CPU utilization, JVM memory pressure, or disk usage.
And to retrieve the last 4 snapshot check, there are few changes need s to be done on the alert configuration.
Here is the updated alert configuration for monitoring snapshots and alerting if any of the last 4 snapshots are not in the SUCCESS state.