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

Make ingestion more resilient by ignoring malformed and avoid field explosion #11531

Open
simitt opened this issue Aug 30, 2023 · 0 comments
Open

Comments

@simitt
Copy link
Contributor

simitt commented Aug 30, 2023

We want to reduce the risk of mapping conflicts. The APM solution should adopt ES features to make ingestion more resilient:

(1) Add ignore_malformed: true to the root of the mappings. See also elastic/elasticsearch#95329. Ignores fields with type conflicts instead of rejecting the whole document.
Validation Criteria: Ingesting a label foo: 42, then foo: "bar" doesn't lead to data loss

(2) Add dynamic: until_limit to avoid that field explosions lead to data loss. Relates to elastic/elasticsearch#96235.
Validation Criteria: Exceeding the field limit by creating many unique labels doesn't lead to data loss

@simitt simitt added this to the 8.11 milestone Aug 30, 2023
@simitt simitt removed this from the 8.11 milestone Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants