Get security stats

  • GET /_security/stats
Auth

Gather security usage statistics from all node(s) within the cluster.

Required authorization

Cluster privileges monitor

Response

application/json
nodes map string to object required

A map of node IDs to security statistics for that node.

<string> object
roles object required

Role statistics.

dls object required

Document-level security (DLS) statistics.

bit_set_cache object required
count number required

Number of entries in the cache.

memory number | string

Human-readable amount of memory taken up by the cache.

memory_in_bytes number required

Memory taken up by the cache in bytes.

hits number required

Total number of cache hits.

misses number required

Total number of cache misses.

evictions number required

Total number of cache evictions.

hits_time_in_millis number required

Total combined time spent in cache for hits in milliseconds.

misses_time_in_millis number required

Total combined time spent in cache for misses in milliseconds.