Query parameters
- master_timeout
string A duration. Units can be
nanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.Values are
-1
or0
.
GET /_searchable_snapshots/cache/stats
Console
GET /_searchable_snapshots/cache/stats
resp = client.searchable_snapshots.cache_stats()
const response = await client.searchableSnapshots.cacheStats();
response = client.searchable_snapshots.cache_stats
$resp = $client->searchableSnapshots()->cacheStats();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_searchable_snapshots/cache/stats"
Response examples (200)
A successful response from `GET /_searchable_snapshots/cache/stats`.
{
"nodes" : {
"eerrtBMtQEisohZzxBLUSw" : {
"shared_cache" : {
"reads" : 6051,
"bytes_read_in_bytes" : 5448829,
"writes" : 37,
"bytes_written_in_bytes" : 1208320,
"evictions" : 5,
"num_regions" : 65536,
"size_in_bytes" : 1099511627776,
"region_size_in_bytes" : 16777216
}
}
}
}