Get security stats
- GET /_security/stats
Gather security usage statistics from all node(s) within the cluster.
- Cluster privileges:
monitor
Response
application/json
-
nodesmap string to NodeSecurityStatsrequired -
A map of node IDs to security statistics for that node.
-
<string>NodeSecurityStats -
rolesRolesStatsrequired -
Role statistics.
-
dlsSecurityRolesDlsrequired -
Document-level security (DLS) statistics.
-
bit_set_cacheSecurityRolesDlsBitSetCacherequired -
countnumberrequired -
Number of entries in the cache.
-
memorynumber | string ByteSize -
Human-readable amount of memory taken up by the cache.
-
memory_in_bytesnumber ulongrequired -
Memory taken up by the cache in bytes.
-
hitsnumberrequired -
Total number of cache hits.
-
missesnumberrequired -
Total number of cache misses.
-
evictionsnumberrequired -
Total number of cache evictions.
-
hits_time_in_millisDurationValueUnitMillisrequired -
Total combined time spent in cache for hits in milliseconds.
-
misses_time_in_millisDurationValueUnitMillisrequired -
Total combined time spent in cache for misses in milliseconds.