Skip to content

Commit

Permalink
Delete templates/ILM on profiling upgrade
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danielmitterdorfer committed Oct 19, 2023
1 parent 0cf0670 commit f5f8420
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/en/observability/profiling-upgrade.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit f5f8420

Please sign in to comment.