mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
In this PR we enable all new data streams to be managed by the data stream lifecycle by default. This is implemented by adding an empty `lifecycle: {}` upon new data stream creation. Opting out is represented by a the `enabled` flag: ``` { "lifecycle": { "enabled": false } } ``` This change has the following implications on when is an index managed and by which feature: | Parent data stream lifecycle| ILM| `prefer_ilm`|Managed by| |----------------------------|----|----------------|-| | default | yes| true| ILM| | default | yes| false| data stream lifecycle| |default | no|true/false|data stream lifecycle| |opt-out or missing|yes|true/false|ILM| |opt-out or missing|no|true/false|unmanaged| Data streams that have been created before the data stream lifecycle is enabled will not have the default lifecycle. Next steps: - We need to document this when the feature will be GA (https://github.com/elastic/elasticsearch/issues/97973). |
||
---|---|---|
.. | ||
lifecycle | ||
change-mappings-and-settings.asciidoc | ||
data-stream-apis.asciidoc | ||
data-streams.asciidoc | ||
downsampling-ilm.asciidoc | ||
downsampling-manual.asciidoc | ||
downsampling.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.asciidoc | ||
use-a-data-stream.asciidoc |