REST APIWatcher API停止 watch 服务 API本页总览停止 watch 服务 API如果 Watcher 服务正在运行,则停止它。POST _watcher/_stop前置条件你必须具有 manage_watcher 集群权限才能使用此 API。查询参数master_timeout(可选,时间单位)默认为 30s。等待主节点的期限。如果在超时期限到期之前主节点不可用,则请求失败并返回错误。也可以设置为 -1,表示请求永不超时。响应体请求成功时,Watcher 返回以下响应:{ "acknowledged": true}示例以下示例停止 Watcher 服务:POST _watcher/_stop原文链接