Loading

stack es cat indices cli command

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

Get index information.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--index string
Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.
--expand-wildcards enum

The type of index that wildcard patterns can match.

Values: all, open, closed, hidden, none

--health enum

The health status used to limit returned indices. By default, the response includes indices of any health status.

Values: green, GREEN, yellow, YELLOW, red, RED, unknown, unavailable

--[no-]include-unloaded-segments
If true, the response includes information from segments that are not loaded into memory.
--[no-]pri
If true, the response only includes information from primary shards.
--master-timeout string
Period to wait for a connection to the master node.
--h string
A comma-separated list of columns names to display. It supports simple wildcards.
--s string
List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting :asc or :desc as a suffix to the column name.
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON