Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›Watcher

Watcher inputs

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:

  • simple: load static data into the execution context.
  • search: load the results of a search into the execution context.
  • http: load the results of an HTTP request into the execution context.
  • chain: use a series of inputs to load data into the execution context.

If you don’t define an input for a watch, an empty payload is loaded into the execution context.

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/input.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API