Retrieve status of a node or nodes that are currently marked as shutting down Added in 7.13.0
Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
Path parameters
-
Which node for which to retrieve the shutdown status
Query parameters
-
master_timeout string
Period 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.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
. -
timeout string
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
.
GET /_nodes/{node_id}/shutdown
curl \
-X GET http://api.example.com/_nodes/{node_id}/shutdown
Response examples (200)
{
"nodes": [
{
"node_id": "string",
"type": "remove",
"reason": "string",
"": 42.0,
"status": "not_started",
"shard_migration": {
"status": "not_started"
},
"persistent_tasks": {
"status": "not_started"
},
"plugins": {
"status": "not_started"
}
}
]
}