Hi. How can I specify a time range in a metric alert? I want to trigger the alarm only if @timestamp is between an interval.
https://github.com/elastic/examples/tree/master/Alerting/Sample%20Watches has some examples.
But you will want to use a range query - https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html
Thank you, but I was asking about metric alerts
, those we create on the page /app/management/insightsAndAlerting/triggersActions/alerts
.
Also, I've tried watchers, but it seems my connectors (created under /app/management/insightsAndAlerting/triggersActions/connectors
) are not available there.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.