-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Analyzer in index template settings are not working #128209
Comments
Pinging @elastic/fleet (Team:Fleet) |
@nchaulet One approach we could take is to merge the @joshdover suggested this could be called the |
Yes this seems a good solution, I have a working solution now where I just moved the |
@ruflin just checking you are happy, we are proposing merging the before 8.2 these templates only appeared if a package set custom mappings or settings. |
It always felt natural to separate data stream settings from mappings but unfortunately there are 2 types of settings I think. Some settings like analyzer belong to the mappings and others like shards change are more related to data streams / indices setting itself. I wonder if for some users this could be a breaking change. My understanding is that both @mappings and @settings should not have been modified by users but there are chances these were modified. Under There is a bigger concern related to our constant changes to templates, naming of templates etc. I expect in many of these changes we rollover all data streams to make sure the changes are applied. This is convenient for us but less then ideal for Elasticsearch as by just upgrading we double the number of indices. If someone has a rollover of 90 days, 50GB but each upgrade a rollover happens, the number of indices keeps increasing. Do we know how many packages have these custom mappings? |
I get where this is coming from, but if we can't treat these assets as managed then we can't make any changes, which is the whole purpose of making them managed. If this is a problem that impacts many customers, we need to prioritize blocking edits to managed assets. I think we should consider that separate from making the template structure coherent overall.
Yes, we have a single
Agreed. The good news here is that this change wouldn't introduce a new rollover since we're already making a change in 8.2. We do make a best-effort attempt to only apply a rollover if there's a breaking change in mappings, which would only be the case if the user had mapping overrides in As we stabilize the template structure, we should have a goal of minimizing future changes and be sure the model we're moving to can support all use cases we intend to support. I think we're getting quite close to that with this change and #121118 |
I remember @hop-dev put together somewhere a list of existing templates. Lets make sure we have this change documented. Ideally, we would have this documented in public for everyone to look up. |
I've opened a documentation issue here: elastic/ingest-docs#111 and have updated #121118 with the existing scheme as of 8.2 and the new proposed scheme |
I've created a dev doc for the template hierarchy and some other bits while we wait for something in observability docs |
Description
It's not possible to install the
windows
package anymore you got the following errorI think it's related to moving the mapping outside of the main index template, as the analyzer is define in index template settings.
The text was updated successfully, but these errors were encountered: