From 0e4703c7c4d8241fde1d721f0c36d10f388fe4b9 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 08:26:44 +0200 Subject: [PATCH] Delete templates/ILM on profiling upgrade (#3298) (#3303) With this commit we amend the instructions to delete data on profiling upgrade (only required for pre-GA versions) to also include deletion of index templates, component templates and the ILM policy. This ensures a smooth upgrade without any leftovers. Co-authored-by: Mike Birnstiehl <114418652+mdbirnstiehl@users.noreply.github.com> --------- Co-authored-by: Mike Birnstiehl <114418652+mdbirnstiehl@users.noreply.github.com> (cherry picked from commit 999b1ff37a9d8ebab9252f4fca0f26e4f2a62c76) Co-authored-by: Daniel Mitterdorfer --- docs/en/observability/profiling-upgrade.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/en/observability/profiling-upgrade.asciidoc b/docs/en/observability/profiling-upgrade.asciidoc index ec02227b0a..b4a64cd047 100644 --- a/docs/en/observability/profiling-upgrade.asciidoc +++ b/docs/en/observability/profiling-upgrade.asciidoc @@ -74,6 +74,12 @@ PUT /_cluster/settings . Select all resulting data streams, and click the *Delete data streams* button. . Switch to the *Indices* tab, enable *Include hidden indices*, and search for `profiling-` in the search bar. . Select all resulting indices, click the *Manage indices* button, and select *Delete indices* from the drop-down menu. +. Switch to the *Index Templates* tab, and search for `profiling-` in the search bar. +. Select all resulting index templates, and click the *Delete templates* button. +. Switch to the *Component Templates* tab, and search for `profiling-` in the search bar. +. Select all resulting component templates, and click the *Delete component templates* button. +. From the navigation menu, go to *Index Lifecycle Policies*, search for `profiling` in the search bar, and click the trash icon in the *Actions* column. + Verify that no ingestion is happening by reloading the *Data Streams* and *Indices* pages and ensuring that there are no data streams or indices with the `profiling-` prefix.