Get cache statistics Technical preview
Get statistics about the shared cache for partially mounted indices.
Path parameters
-
A comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodes
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.
GET
/_searchable_snapshots/{node_id}/cache/stats
curl \
-X GET http://api.example.com/_searchable_snapshots/{node_id}/cache/stats
Response examples (200)
{
"nodes": {
"additionalProperty1": {
"shared_cache": {
"reads": 42.0,
"": 42.0,
"writes": 42.0,
"evictions": 42.0,
"num_regions": 42.0
}
},
"additionalProperty2": {
"shared_cache": {
"reads": 42.0,
"": 42.0,
"writes": 42.0,
"evictions": 42.0,
"num_regions": 42.0
}
}
}
}