elasticsearch/docs/reference/data-streams/lifecycle
Mary Gouseti 91f4023e27
Expose global retention settings via data stream lifecycle API (#112210)
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": [...]
}
```
2024-09-02 18:40:08 +10:00
..
apis Expose global retention settings via data stream lifecycle API (#112210) 2024-09-02 18:40:08 +10:00
index.asciidoc Display effective retention in the relevant data stream APIs (#112019) 2024-08-22 17:42:49 +03:00
tutorial-manage-data-stream-retention.asciidoc Expose global retention settings via data stream lifecycle API (#112210) 2024-09-02 18:40:08 +10:00
tutorial-manage-existing-data-stream.asciidoc GA data stream lifecycles in documentation (#107582) 2024-04-18 09:09:44 -06:00
tutorial-manage-new-data-stream.asciidoc Expose global retention settings via data stream lifecycle API (#112210) 2024-09-02 18:40:08 +10:00
tutorial-migrate-data-stream-from-ilm-to-dsl.asciidoc Display effective retention in the relevant data stream APIs (#112019) 2024-08-22 17:42:49 +03:00