From f5f84205bd8602093659341cc503ef1026570fb5 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Thu, 19 Oct 2023 08:28:28 +0200 Subject: [PATCH] Delete templates/ILM on profiling upgrade 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. --- docs/en/observability/profiling-upgrade.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/en/observability/profiling-upgrade.asciidoc b/docs/en/observability/profiling-upgrade.asciidoc index ec02227b0a..b2edec3c28 100644 --- a/docs/en/observability/profiling-upgrade.asciidoc +++ b/docs/en/observability/profiling-upgrade.asciidoc @@ -74,6 +74,11 @@ 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 on 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.