stack es indices get-data-lifecycle cli command
Auth required
Idempotent
Scope: global
elastic stack es indices get-data-lifecycle --name <name> [options]
Get data stream lifecycles.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--namestringrequired-
Comma-separated list of data streams to limit the request. Supports wildcards (
*). To target all data streams, omit this parameter or use*or_all.Repeatable: pass
--namemultiple times to supply more than one value --expand-wildcardsenum-
Type of data stream that wildcard patterns can match. Supports comma-separated values, such as
open,hidden.Values: all, open, closed, hidden, none
--[no-]include-defaults- If
true, return all default settings in the response. --master-timeoutstring- Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
--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