Skip to content

Commit

Permalink
Raise prefer_ilm configuration as a known issue (#4505)
Browse files Browse the repository at this point in the history
* Raise prefer_ilm configuration as a known issue

* Fix link

* Update docs/en/observability/apm/known-issues.asciidoc

* Update docs/en/observability/apm/known-issues.asciidoc

Co-authored-by: Brandon Morelli <[email protected]>

* Update docs/en/observability/apm/known-issues.asciidoc

Co-authored-by: Brandon Morelli <[email protected]>

---------

Co-authored-by: Brandon Morelli <[email protected]>
(cherry picked from commit c24c557)
  • Loading branch information
lahsivjar authored and mergify[bot] committed Nov 8, 2024
1 parent 992facd commit a5d4c57
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/en/observability/apm/known-issues.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@ _Versions: XX.XX.XX, YY.YY.YY, ZZ.ZZ.ZZ_
// If applicable, link to fix
////

[discrete]
== `prefer_ilm` required in component templates to create custom lifecycle policies

_Elastic Stack versions: 8.15.1+_

// The conditions in which this issue occurs
The issue occurs when creating a _new_ cluster using version 8.15.1+.
The issue occurs for any APM data streams created in 8.15.1+.
The issue does _not_ occur if custom component template has been created in or before version 8.15.0.

// Describe why it happens
In 8.15.0, APM Server began using the https://github.com/elastic/elasticsearch/tree/main/x-pack/plugin/apm-data[apm-data plugin]
to manage data streams, ingest pipelines, lifecycle policies, and more. In 8.15.1, a fix was introduced to address
unmanaged indices in older clusters using default ILM policies. This fix added a fallback to the default ILM policy
(if it exists) and set the `prefer_ilm` configuration to `false`. This setting impacts clusters where both ILM and
data stream lifecycles (DSL) are in effect—such as when configuring custom ILM policies using `@custom` component
templates, under the conditions mentioned above.

// How to fix it
To override ILM policies for these new clusters using component template, set the `prefer_ilm` configuration
to `true` by following the {observability-guide}/apm-ilm-how-to.html[updated guide to customize ILM].

[discrete]
== Upgrading to v8.15.x may cause ingestion to fail

Expand Down

0 comments on commit a5d4c57

Please sign in to comment.