The 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.
To indicate that the request should never timeout, set it to -1.
The period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
To indicate that the request should never timeout, set it to -1.
GET _slm/status
resp = client.slm.get_status()
const response = await client.slm.getStatus();
response = client.slm.get_status
$resp = $client->slm()->getStatus();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_slm/status"
{
"operation_mode": "RUNNING"
}