原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/input.html, 原文档版权归 www.elastic.co 所有
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Inputsedit
When a watch is triggered, its input loads data into the execution context. This payload is accessible during the subsequent watch execution phases. For example, you can base a watch’s condition on the data loaded by its input.
Watcher supports four input types:
If you don’t define an input for a watch, an empty payload is loaded into the execution context.