-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composable templates plan #3692
Comments
relevant: elastic/elasticsearch#56528 |
Related: having multiple dynamic templates with the same key will be disallowed in templates v2 and stop working. Related issues:
|
see #3824 (comment) |
Never mind. Not particularly relevant, as we create separate templates for each server version. |
After some more investigation I suggest to move forward as follows:
|
Couple of questions:
It feels to me like there's a lot of complexity in retaining the existing configuration, particularly around switching between managed/unmanaged. I'm wondering if we could simplify things, and make "unmanaged" truly unmanaged: do nothing. Otherwise always create index templates, with datastreams and ILM if available. Following this line of thought, could we deprecate both To summarise, here's what I'm thinking:
One last point: I don't think switching between legacy/index templates would be supported -- make it a clean break. Instead, you update apm-server.yml before upgrading. If you accidentally upgrade and create legacy templates, then just delete them and restart APM Server after reconfiguring. |
Elasticsearch is introducing v2 of index templates per elastic/elasticsearch#53101. Beats don't rely on template inheritance (see elastic/beats#17829) so will likely not take into account APM Server's need for it.
elastic/beats#17809 is probably the best issue to coordinate with beats on APM Server needs. That issue appears to be headed for:
prefer_v2_templates
false
)true
true
)This issue should be used for understanding the impact of v2 templates to APM Server and documenting the plans for support in the relevant version/deployment combinations. Let's open follow on issues for tracking the changes needed to execute on that plan.
The text was updated successfully, but these errors were encountered: