Skip to content

Commit b8a2f4e

Browse files
committed
Minor improvements suggested by David
1 parent ea3f6f2 commit b8a2f4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manage-data/lifecycle/data-stream/tutorial-data-stream-retention.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ Global default and max retention do not apply to data streams internal to elasti
7272

7373
## How to configure retention? [retention-configuration]
7474

75-
* By setting the `data_retention` on the data stream level. This retention can be configured in two ways:
75+
* Configure data retention at the data stream level using the `data_retention` setting. You can do this in two ways:
7676

77-
* For new data streams, it can be defined in the index template that would be applied during the data stream’s creation. You can use the [create index template API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-index-template), for example:
77+
* For a new data stream, the `data_retention` setting can be included in the index template that is applied when the data stream is created. You can use the [create index template API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-index-template), for example:
7878

7979
```console
8080
PUT _index_template/template
@@ -93,7 +93,7 @@ Global default and max retention do not apply to data streams internal to elasti
9393
}
9494
```
9595

96-
* For an existing data stream, it can be set via the [PUT lifecycle API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-lifecycle).
96+
* For an existing data stream, the `data_retention` setting can be configured using the [PUT lifecycle API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-lifecycle).
9797

9898
```console
9999
PUT _data_stream/my-data-stream/_lifecycle

0 commit comments

Comments
 (0)