stack es cat indices cli command
elastic stack es cat indices [options]
Get index information.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--indexstring-
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.Repeatable: pass
--indexmultiple times to supply more than one value --expand-wildcardsstring-
The type of index that wildcard patterns can match.
Repeatable: pass
--expand-wildcardsmultiple times to supply more than one value --healthstring- The health status used to limit returned indices. By default, the response includes indices of any health status.
--[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-timeoutstring- Period to wait for a connection to the master node.
--hstring-
A comma-separated list of columns names to display. It supports simple wildcards.
Repeatable: pass
--hmultiple times to supply more than one value --sstring-
List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting
:ascor:descas a suffix to the column name.Repeatable: pass
--smultiple times to supply more than one value --input-filestring- 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