parent
a2b0e8ecd6
commit
6778dc6013
|
@ -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=<tag-name>]`
|
||||
|
|
Loading…
Reference in New Issue