Query parameters
-
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
-1
or0
. -
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Values are
-1
or0
.
GET /_ml/memory/_stats
Console
GET _ml/memory/_stats?human
resp = client.ml.get_memory_stats( human=True, )
const response = await client.ml.getMemoryStats({ human: "true", });
response = client.ml.get_memory_stats( human: "true" )
$resp = $client->ml()->getMemoryStats([ "human" => "true", ]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ml/memory/_stats?human"