Loading

stack es indices stats cli command

Auth required Idempotent Scope: global
elastic stack es indices stats [options]
		

Get index statistics.

--metric string

Comma-separated list of metrics used to limit the request.

Repeatable: pass --metric multiple times to supply more than one value

--index string

A comma-separated list of index names; use _all or empty string to perform the operation on all indices

Repeatable: pass --index multiple times to supply more than one value

--completion-fields string

Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.

Repeatable: pass --completion-fields multiple times to supply more than one value

--expand-wildcards string

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.

Repeatable: pass --expand-wildcards multiple times to supply more than one value

--fielddata-fields string

Comma-separated list or wildcard expressions of fields to include in fielddata statistics.

Repeatable: pass --fielddata-fields multiple times to supply more than one value

--fields string

Comma-separated list or wildcard expressions of fields to include in the statistics.

Repeatable: pass --fields multiple times to supply more than one value

--[no-]forbid-closed-indices
If true, statistics are not collected from closed indices.
--groups string

Comma-separated list of search groups to include in the search statistics.

Repeatable: pass --groups multiple times to supply more than one value

--[no-]include-segment-file-sizes
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
--[no-]include-unloaded-segments
If true, the response includes information from segments that are not loaded into memory.
--level string
Indicates whether statistics are aggregated at the cluster, indices, or shards level.
--input-file string
path to a JSON file to use as command input
-V --[no-]version
Print the Elastic CLI version
--config-file string
path to a config file (default: ~/.elasticrc.yml)
--use-context string
override the active context from the config file
--command-profile string
restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json
output as JSON
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--[no-]dry-run

validate all inputs and exit without performing any action (preview changes without applying them)