You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding more context to help orient users. For example, explaining how
time is calculated from the last rollover when moving data through
phases (and not from index creation).
I've also added a new screenshot for the index settings page of the
**Create template** wizard, to explain that that is how you tie in your
template to the policy created in the previous step.
Partially addresses tasks defined in #1566.
@@ -60,6 +63,8 @@ PUT _ilm/policy/timeseries_policy
60
63
:::
61
64
::::
62
65
66
+
Note that for each phase after the hot phase, you have the option to move the data into the next phase after a certain duration of time. This duration is calculated from the time of the index rollover and not from the time the index is created.
67
+
63
68
:::{tip}
64
69
For more details about default {{ilm-init}} policy settings, refer to [Create a lifecycle policy](/manage-data/lifecycle/index-lifecycle-management/configure-lifecycle-policy.md#ilm-create-policy).
Copy file name to clipboardExpand all lines: manage-data/lifecycle/index-lifecycle-management/tutorial-time-series-with-data-streams.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,22 +30,21 @@ When you enable {{ilm}} for {{beats}} or the {{ls}} {{es}} output plugin, lifecy
30
30
To set up a data stream, first create an index template to specify the lifecycle policy. Because the template is for a data stream, it must also include a `data_stream` definition.
31
31
32
32
For example, you might create a template named `timeseries_template` and use it for a future data stream named `timeseries`.
33
-
34
-
To enable {{ilm-init}} to manage the data stream, the template configures one {{ilm-init}} setting:
35
-
36
-
*`index.lifecycle.name` specifies the name of the lifecycle policy that you want to apply to the data stream.
33
+
To configure {{ilm-init}} to manage the data stream, you specify the name of the lifecycle policy that you want to apply to the data stream with the `index.lifecycle.name` setting.
37
34
38
35
Use the {{kib}} **Create template** wizard to add a template or the [Create or update index template](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-index-template) API to add a template and apply the lifecycle policy to indices matching the template.
39
36
40
37
::::{tab-set}
41
38
:group: kibana-api
42
39
:::{tab-item} {{kib}}
43
40
:sync: kibana
44
-
To add an index template to a cluster using the wizard, go to **Stack Management > Index Management**. In the **Index Templates** tab, click **Create template**.
41
+
To add an index template to a cluster using the wizard, go to **Stack Management > Index Management**. In the **Index Templates** tab, click **Create template** and follow the instructions.
To learn about which index template options you can specify, refer to [Create an index template to apply the lifecycle policy](/manage-data/lifecycle/index-lifecycle-management/configure-lifecycle-policy.md#apply-policy-template).
0 commit comments