Skip to content

Commit

Permalink
Delete templates/ILM on profiling upgrade (#3298)
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.

Co-authored-by: Mike Birnstiehl <[email protected]>

---------

Co-authored-by: Mike Birnstiehl <[email protected]>
  • Loading branch information
danielmitterdorfer and mdbirnstiehl authored Oct 23, 2023
1 parent a3e45c0 commit 999b1ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/en/observability/profiling-upgrade.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 999b1ff

Please sign in to comment.