Path parameters
- node_id
string Required The names of particular nodes in the cluster to target. For example,
nodeId1,nodeId2
orml:true
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
-1
or0
. - 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
-1
or0
.
GET /_ml/memory/{node_id}/_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"