IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
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.
Query parameters
edit-
master_timeout
-
(Optional, time units) Specifies the period of time to wait for
a connection to the master node. If no response is received before the timeout
expires, the request fails and returns an error. Defaults to
30s
.
Examples
editresponse = client.watcher.start puts response
POST _watcher/_start
Watcher returns the following response if the request is successful:
{ "acknowledged": true }