Skip to content
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

Elastic-Agent Integrations Use of Legacy Mapping Types Impacts .fleet_globals & prevents agents from being upgraded #2302

Open
iamhowardtheduck opened this issue Nov 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@iamhowardtheduck
Copy link

Out-of-the-box integrations use legacy mapping types in their component templates.

If you enable the mapper_size plugin, then go to apply it in .fleet_globals, this error message occurs:

Unable to create component template updating component template [.fleet_globals-1] results in invalid composable template [COMPONENT-TEMPLATES-HERE-PER-EACH-INTEGRATION] after templates are merged

image
image

Then go look at the specific integration component template mapping section:
image

Link goes here from component template:
https://www.elastic.co/guide/en/elasticsearch/reference/8.11/removal-of-types.html

If an Elastic-Agent was installed, .fleet_globals was modified to display the _size field, then that agent will not upgrade and be stuck on that version.

@iamhowardtheduck iamhowardtheduck added the bug Something isn't working label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant