stack es indices stats cli command
elastic stack es indices stats [options]
Get index statistics.
--metricstring-
Comma-separated list of metrics used to limit the request.
Repeatable: pass
--metricmultiple times to supply more than one value --indexstring-
A comma-separated list of index names; use
_allor empty string to perform the operation on all indicesRepeatable: pass
--indexmultiple times to supply more than one value --completion-fieldsstring-
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
Repeatable: pass
--completion-fieldsmultiple times to supply more than one value --expand-wildcardsstring-
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-wildcardsmultiple times to supply more than one value --fielddata-fieldsstring-
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
Repeatable: pass
--fielddata-fieldsmultiple times to supply more than one value --fieldsstring-
Comma-separated list or wildcard expressions of fields to include in the statistics.
Repeatable: pass
--fieldsmultiple times to supply more than one value --[no-]forbid-closed-indices- If true, statistics are not collected from closed indices.
--groupsstring-
Comma-separated list of search groups to include in the search statistics.
Repeatable: pass
--groupsmultiple 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.
--levelstring- Indicates whether statistics are aggregated at the cluster, indices, or shards level.
--input-filestring- path to a JSON file to use as command input
-V--[no-]version- Print the Elastic CLI version
--config-filestring- path to a config file (default: ~/.elasticrc.yml)
--use-contextstring- override the active context from the config file
--command-profilestring- restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json- output as JSON
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- 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)