From 6778dc60139e5b4c053ab5feae224653f0e5c197 Mon Sep 17 00:00:00 2001 From: alicejw Date: Wed, 25 May 2022 14:22:26 -0700 Subject: [PATCH] final update Signed-off-by: alicejw --- _monitoring-plugins/alerting/api.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_monitoring-plugins/alerting/api.md b/_monitoring-plugins/alerting/api.md index 0450deed..2adaedc6 100644 --- a/_monitoring-plugins/alerting/api.md +++ b/_monitoring-plugins/alerting/api.md @@ -512,12 +512,10 @@ POST _plugins/_alerting/monitors Introduced 2.0 {: .label .label-purple } -Per document monitors check whether or not individual documents in an index should trigger an alert. You can create trigger conditions based on query names, query IDs, or tags. You can combine multiple queries in a per document monitor by adding a tag to each query and then setting the trigger condition to that tag. +Per document monitors check whether or not individual documents in an index match trigger conditions to generate an alert notification. When you run a query with a per document monitor, the results are returned for each document that matches the trigger condition. You can create trigger conditions based on query names, query IDs, or tags. You can combine multiple queries in a per document monitor by adding a tag to each query and then setting the trigger condition to that tag. You can define triggers based on a query name, query ID, or a tag name. The following table shows the syntax to use for each trigger option: -When you run a query with a per document monitor, the results are returned for each document that matches the trigger condition. - Trigger options | Definition | Syntax :--- | :--- : :--- Tag | Creates alerts for documents that match a muliple query with this tag applied. If you group multiple queries by a single tag, then you can set it to trigger an alert if the results are returned by this tag name.| `query[tag=]`