Get index statistics
Added in 1.3.0
For data streams, the API retrieves statistics for the stream's backing indices.
By default, the returned statistics are index-level with primaries
and total
aggregations.
primaries
are the values for only the primary shards.
total
are the accumulated values for both primary and replica shards.
To get shard-level statistics, set the level
parameter to shards
.
NOTE: When moving to another node, the shard-level statistics for a shard are cleared. Although the shard is no longer part of the node, that node retains any node-level statistics to which the shard contributed.
Query parameters
-
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
-
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as
open,hidden
.Supported values include:
all
: Match any data stream or index, including hidden ones.open
: Match open, non-hidden indices. Also matches any non-hidden data stream.closed
: Match closed, non-hidden indices. Also matches any non-hidden data stream. Data streams cannot be closed.hidden
: Match hidden data streams and hidden indices. Must be combined withopen
,closed
, orboth
.none
: Wildcard expressions are not accepted.
Values are
all
,open
,closed
,hidden
, ornone
. -
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
-
Comma-separated list or wildcard expressions of fields to include in the statistics.
-
If true, statistics are not collected from closed indices.
-
Comma-separated list of search groups to include in the search statistics.
-
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
-
If true, the response includes information from segments that are not loaded into memory.
-
Indicates whether statistics are aggregated at the cluster, index, or shard level.
Values are
cluster
,indices
, orshards
.
Responses
-
Hide response attributes Show response attributes object
-
Hide indices attribute Show indices attribute object
-
Hide * attributes Show * attributes object
-
Hide primaries attributes Show primaries attributes object
-
Hide completion attributes Show completion attributes object
-
Hide docs attributes Show docs attributes object
-
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
-
Hide fielddata attributes Show fielddata attributes object
-
Hide flush attributes Show flush attributes object
-
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. -
Time unit for milliseconds
-
Hide get attributes Show get attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide indexing attributes Show indexing attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide merges attributes Show merges attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide query_cache attributes Show query_cache attributes object
-
Total number of entries added to the query cache across all shards assigned to selected nodes. This number includes current and evicted entries.
-
Total number of entries currently in the query cache across all shards assigned to selected nodes.
-
Total number of query cache evictions across all shards assigned to selected nodes.
-
Total count of query cache hits across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.
-
Total count of query cache misses across all shards assigned to selected nodes.
-
Total count of hits and misses in the query cache across all shards assigned to selected nodes.
-
-
Hide recovery attributes Show recovery attributes object
-
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. -
Time unit for milliseconds
-
Hide refresh attributes Show refresh attributes object
-
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide search attributes Show search attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide segments attributes Show segments attributes object
-
Total number of segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.
-
This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.
-
Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.
-
Unix timestamp, in milliseconds, of the most recently retried indexing request.
-
Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.
-
-
Hide store attributes Show store attributes object
-
Total size, in bytes, of all shards assigned to selected nodes.
-
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
Hide warmer attributes Show warmer attributes object
-
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. -
Time unit for milliseconds
-
Hide bulk attributes Show bulk attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
-
Hide shards attribute Show shards attribute object
-
Hide * attributes Show * attributes object
-
-
Hide total attributes Show total attributes object
-
Hide completion attributes Show completion attributes object
-
Hide docs attributes Show docs attributes object
-
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
-
Hide fielddata attributes Show fielddata attributes object
-
Hide flush attributes Show flush attributes object
-
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. -
Time unit for milliseconds
-
Hide get attributes Show get attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide indexing attributes Show indexing attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide merges attributes Show merges attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide query_cache attributes Show query_cache attributes object
-
Total number of entries added to the query cache across all shards assigned to selected nodes. This number includes current and evicted entries.
-
Total number of entries currently in the query cache across all shards assigned to selected nodes.
-
Total number of query cache evictions across all shards assigned to selected nodes.
-
Total count of query cache hits across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.
-
Total count of query cache misses across all shards assigned to selected nodes.
-
Total count of hits and misses in the query cache across all shards assigned to selected nodes.
-
-
Hide recovery attributes Show recovery attributes object
-
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. -
Time unit for milliseconds
-
Hide refresh attributes Show refresh attributes object
-
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide search attributes Show search attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide segments attributes Show segments attributes object
-
Total number of segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.
-
This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.
-
Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.
-
Unix timestamp, in milliseconds, of the most recently retried indexing request.
-
Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.
-
-
Hide store attributes Show store attributes object
-
Total size, in bytes, of all shards assigned to selected nodes.
-
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
Hide warmer attributes Show warmer attributes object
-
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. -
Time unit for milliseconds
-
Hide bulk attributes Show bulk attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
-
Values are
green
,GREEN
,yellow
,YELLOW
,red
, orRED
. -
Values are
open
orclose
.
-
-
-
Hide _shards attributes Show _shards attributes object
-
Hide failures attributes Show failures attributes object
-
Hide _all attributes Show _all attributes object
-
Hide primaries attributes Show primaries attributes object
-
Hide completion attributes Show completion attributes object
-
Hide docs attributes Show docs attributes object
-
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
-
Hide fielddata attributes Show fielddata attributes object
-
Hide flush attributes Show flush attributes object
-
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. -
Time unit for milliseconds
-
Hide get attributes Show get attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide indexing attributes Show indexing attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide merges attributes Show merges attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide query_cache attributes Show query_cache attributes object
-
Total number of entries added to the query cache across all shards assigned to selected nodes. This number includes current and evicted entries.
-
Total number of entries currently in the query cache across all shards assigned to selected nodes.
-
Total number of query cache evictions across all shards assigned to selected nodes.
-
Total count of query cache hits across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.
-
Total count of query cache misses across all shards assigned to selected nodes.
-
Total count of hits and misses in the query cache across all shards assigned to selected nodes.
-
-
Hide recovery attributes Show recovery attributes object
-
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. -
Time unit for milliseconds
-
Hide refresh attributes Show refresh attributes object
-
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide search attributes Show search attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide segments attributes Show segments attributes object
-
Total number of segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.
-
This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.
-
Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.
-
Unix timestamp, in milliseconds, of the most recently retried indexing request.
-
Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.
-
-
Hide store attributes Show store attributes object
-
Total size, in bytes, of all shards assigned to selected nodes.
-
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
Hide warmer attributes Show warmer attributes object
-
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. -
Time unit for milliseconds
-
Hide bulk attributes Show bulk attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
-
Hide shards attribute Show shards attribute object
-
Hide * attributes Show * attributes object
-
Hide docs attributes Show docs attributes object
-
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
-
Hide flush attributes Show flush attributes object
-
Hide get attributes Show get attributes object
-
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. -
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. -
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.
-
Hide indexing attributes Show indexing attributes object
-
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. -
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. -
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.
-
Hide merges attributes Show merges attributes object
-
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. -
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. -
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.
-
Hide recovery attributes Show recovery attributes object
-
Hide refresh attributes Show refresh attributes object
-
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.
-
Hide search attributes Show search attributes object
-
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. -
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. -
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. -
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.
-
Hide segments attributes Show segments attributes object
-
Total number of segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.
-
This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.
-
Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.
-
Unix timestamp, in milliseconds, of the most recently retried indexing request.
-
Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.
-
-
Hide store attributes Show store attributes object
-
Total size, in bytes, of all shards assigned to selected nodes.
-
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
Hide warmer attributes Show warmer attributes object
-
Hide bulk attributes Show bulk attributes object
-
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. -
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.
-
-
Hide total attributes Show total attributes object
-
Hide completion attributes Show completion attributes object
-
Hide docs attributes Show docs attributes object
-
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
-
Hide fielddata attributes Show fielddata attributes object
-
Hide flush attributes Show flush attributes object
-
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. -
Time unit for milliseconds
-
Hide get attributes Show get attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide indexing attributes Show indexing attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide merges attributes Show merges attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide query_cache attributes Show query_cache attributes object
-
Total number of entries added to the query cache across all shards assigned to selected nodes. This number includes current and evicted entries.
-
Total number of entries currently in the query cache across all shards assigned to selected nodes.
-
Total number of query cache evictions across all shards assigned to selected nodes.
-
Total count of query cache hits across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.
-
Total count of query cache misses across all shards assigned to selected nodes.
-
Total count of hits and misses in the query cache across all shards assigned to selected nodes.
-
-
Hide recovery attributes Show recovery attributes object
-
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. -
Time unit for milliseconds
-
Hide refresh attributes Show refresh attributes object
-
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide search attributes Show search attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
Hide segments attributes Show segments attributes object
-
Total number of segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.
-
This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.
-
Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.
-
Unix timestamp, in milliseconds, of the most recently retried indexing request.
-
Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.
-
Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.
-
-
Hide store attributes Show store attributes object
-
Total size, in bytes, of all shards assigned to selected nodes.
-
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
Hide warmer attributes Show warmer attributes object
-
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. -
Time unit for milliseconds
-
Hide bulk attributes Show bulk attributes object
-
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. -
Time unit for milliseconds
-
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. -
Time unit for milliseconds
-
-
Values are
green
,GREEN
,yellow
,YELLOW
,red
, orRED
. -
Values are
open
orclose
.
-
-
curl \
--request GET 'http://api.example.com/_stats' \
--header "Authorization: $API_KEY"