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

[Fleet] Don't add ecs@mappings component template when dynamic: runtime is used. #189371

Open
jsoriano opened this issue Jul 29, 2024 · 1 comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@jsoriano
Copy link
Member

Describe the feature:

Don't add ecs@mappings component template to index templates managed by Fleet that use dynamic: runtime.

Describe a specific use case for the feature:

When using dynamic: runtime at the data stream level, the package developer probably don't want to provide mappings for fields that are not explicitly defined in the package. We have seen cases where the inclusion of ecs@mappings starts applying mappings to fields that were not previously mapped. This can cause issues with intermediary objects.

More specifically, we saw that the APM package was using dynamic: runtime and was not providing mappings for related.ip and related.host. After 8.13 this package started using ecs@mappings. Then mappings were added for these fields, but not for the intermediary object related, what causes issues.

Related issues:

@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 29, 2024
@dmlemeshko dmlemeshko added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

3 participants