Skip to content

Commit

Permalink
[DOCS] Update ILM tutorial docs for UI changes (#69189)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored Feb 19, 2021
1 parent f2456a5 commit 0cbab23
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
26 changes: 16 additions & 10 deletions docs/reference/ilm/example-index-lifecycle-policy.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ of each node in the warm tier:
+
[source,yaml]
----
node.roles: [ "data_warm" ]
node.roles: [ data_warm ]
----

* A host with the {agent} installed and configured to send logs to your {es}
Expand All @@ -82,8 +82,9 @@ To view the `logs` policy in {kib}:
The `logs` policy uses the recommended rollover defaults: Start writing to a new
index when the current write index reaches 50GB or becomes 30 days old.

To view or change the rollover settings, click **Settings** for the hot phase.
Then disable **Use recommended defaults** to display the rollover settings.
To view or change the rollover settings, click **Advanced settings** for the hot
phase. Then disable **Use recommended defaults** to display the rollover
settings.

[role="screenshot"]
image::images/ilm/tutorial-ilm-hotphaserollover-default.png[View rollover defaults]
Expand All @@ -96,22 +97,27 @@ The default `logs` policy is designed to prevent the creation of many tiny daily
indices. You can modify the policy to meet your performance requirements and
manage resource usage.

. Activate the warm phase and click **Settings**.
. Activate the warm phase and click **Advanced settings**.
+
--
.. Set **Move data into phase when** to **30 days**. This moves indices to the
warm tier 30 days after rollover.
.. Set **Move data into phase when** to **30 days old**. This moves indices to
the warm tier 30 days after rollover.

.. Enable **Replicas** and change **Number of replicas** to **1**.
.. Enable **Set replicas** and change **Number of replicas** to **1**.

.. Enable **Force merge** and set **Number of segments** to **1**.
.. Enable **Force merge data** and set **Number of segments** to **1**.

[role="screenshot"]
image::images/ilm/tutorial-ilm-modify-default-warm-phase-rollover.png[Add a warm phase with custom settings]
--

. Activate the delete phase and set **Move data into phase when** to **90**
days. This deletes indices 90 days after rollover.
. In the warm phase, click the trash icon to enable the delete phase.
+
[role="screenshot"]
image::images/ilm/tutorial-ilm-enable-delete-phase.png[Enable the delete phase]
+
In the delete phase, set **Move data into phase when** to **90 days old**. This
deletes indices 90 days after rollover.
+
[role="screenshot"]
image::images/ilm/tutorial-ilm-delete-rollover.png[Add a delete phase]
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/ilm/set-up-lifecycle-policy.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ bootstrap an initial index.
[[ilm-create-policy]]
=== Create lifecycle policy

To create lifecycle policies through {kib} Management
go to Management and click **Index Lifecycle Policies**.
To create a lifecycle policy from {kib}, open the menu and go to *Stack
Management > Index Lifecycle Policies*. Click *Create policy*.

[role="screenshot"]
image:images/ilm/create-policy.png[]
image:images/ilm/create-policy.png[Create policy page]

You specify the lifecycle phases for the policy and the actions to perform in each phase.

Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0cbab23

Please sign in to comment.