-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
We need to load a different template for 6x than 5x #3368
Comments
This is a temporary workaround for elastic#3368. We'll need to add the `_all` setting only in the 2x/5x versions of the templates. Should fix the builds.
This is a temporary workaround for #3368. We'll need to add the `_all` setting only in the 2x/5x versions of the templates. Should fix the builds.
We currently only used |
Hmm, I'm not sure it would be the same. In 5.x, |
@tsg you are right, I mixed up two different things 👎 |
The (temporary) solution for 5.3 is to add back the |
This is a temporary solution for elastic#3368, to avoid a breaking change in 5.x.
* Bring back the _all field in 5.x This is a temporary solution for #3368, to avoid a breaking change in 5.x. * use the 5.3 snapshots
This was fixed by #3778, master uses a different approach too: beats/libbeat/template/template.go Line 113 in 18031fb
|
This is the behavior for the whole Beats 5.X branch but after switching to `template.go` in master we missed ES 5.X here. This change takes it back while keeping 6.X compatible. I already disabled `_all.norms` for ES 6.X in elastic#3368
This is the behavior for the whole Beats 5.X branch but after switching to `template.go` in master we missed ES 5.X here. This change takes it back while keeping 6.X compatible. I already disabled `_all.norms` for ES 6.X in #3368
Elasticsearch 6.x rejects templates that set any
_all
settings. We do that in our templates, so we'll need to create different templates for 5.x and 6.x.Marking this as a blocker for 5.3, in case we're releasing 5.3 from the current master.
The text was updated successfully, but these errors were encountered: