In this PR we expose the global retention via the `GET _data_stream/{target}/_lifecycle` API. Since the global retention is a main feature of the data stream lifecycle we chose to expose it by default. ``` GET /_data_stream/my-data-stream/_lifecycle { "global_retention": { "default_retention": "7d", "max_retention": "365d" }, "data_streams": [...] } ``` |
||
---|---|---|
.. | ||
lifecycle | ||
change-mappings-and-settings.asciidoc | ||
data-stream-apis.asciidoc | ||
data-streams.asciidoc | ||
downsampling-dsl.asciidoc | ||
downsampling-ilm.asciidoc | ||
downsampling-manual.asciidoc | ||
downsampling.asciidoc | ||
logs.asciidoc | ||
modify-data-streams-api.asciidoc | ||
promote-data-stream-api.asciidoc | ||
set-up-a-data-stream.asciidoc | ||
set-up-tsds.asciidoc | ||
tsds-index-settings.asciidoc | ||
tsds-reindex.asciidoc | ||
tsds.asciidoc | ||
use-a-data-stream.asciidoc |