Restart cluster

Restarts a Kibana cluster. If a cluster is active: this command re-applies the existing plan but applies a "cluster_reboot", which issues a Kibana restart command and waits for it to complete. If a cluster is inactive: this command starts it up with the most recent successful plan.

Request

POST /api/v1/clusters/kibana/{cluster_id}/_restart

Path Parameters

cluster_id (required)
(string) Identifier for the Kibana cluster

Query Parameters

cancel_pending
(boolean; default: false) If true, will cancel any pending plans before restarting (else will error)

Responses

202
(EmptyResponse) The stop command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress
404
(BasicFailedReply) The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')
412
(BasicFailedReply) The command sent to a cluster found the cluster in an illegal state, the error message gives more details (code: 'clusters.cluster_plan_state_error')
449
(BasicFailedReply) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')