From 740330f9fe16953fd5945d7af63f4b6ae04251e0 Mon Sep 17 00:00:00 2001 From: alicejw Date: Mon, 23 May 2022 17:35:30 -0700 Subject: [PATCH] rename to exact name for monitor type: document-level monitor Signed-off-by: alicejw --- _monitoring-plugins/alerting/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_monitoring-plugins/alerting/api.md b/_monitoring-plugins/alerting/api.md index a5b7f559..567b16e0 100644 --- a/_monitoring-plugins/alerting/api.md +++ b/_monitoring-plugins/alerting/api.md @@ -508,11 +508,11 @@ POST _plugins/_alerting/monitors } } ``` -## Create a per document monitor +## Create a document-level monitor Introduced 2.0 {: .label .label-purple } -You can create a per document monitor to run a query and check whether or not the results should trigger an alert notification based on individual documents within an index. +You can create a document-level monitor programmatically that functions the same as a per document monitor in the OpenSearch Dashboards. The document-level monitor runs a query that checks whether or not the results should trigger an alert notification based on individual documents within an index. 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.