mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
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": [...] } ``` |
||
---|---|---|
.. | ||
apis | ||
index.asciidoc | ||
tutorial-manage-data-stream-retention.asciidoc | ||
tutorial-manage-existing-data-stream.asciidoc | ||
tutorial-manage-new-data-stream.asciidoc | ||
tutorial-migrate-data-stream-from-ilm-to-dsl.asciidoc |