API запуска службы Watcher
Запускает службу Watcher, если она ещё не запущена.
Запрос
POST _watcher/_start
Предварительные условия
- У вас должны быть
manage_watcherпривилегии кластера для использования этого API. Дополнительную информацию см. в разделе Привилегии безопасности.
Примеры
resp = client.watcher.start() print(resp)
response = client.watcher.start puts response
const response = await client.watcher.start(); console.log(response);
POST _watcher/_start
Watcher возвращает следующий ответ, если запрос выполнен успешно:
{
"acknowledged": true
}
© 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/watcher-api-start.html