This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Start watch service API
editStart watch service API
editStarts the Watcher service if it is not already running.
Request
editPOST _watcher/_start
Prerequisites
edit-
You must have
manage_watcher
cluster privileges to use this API. For more information, see Security privileges.
Examples
editresp = client.watcher.start() print(resp)
response = client.watcher.start puts response
const response = await client.watcher.start(); console.log(response);
POST _watcher/_start
Watcher returns the following response if the request is successful:
{ "acknowledged": true }