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

Fail tests if documents contained _ignored fields #1276

Closed
andrewkroh opened this issue May 23, 2023 · 0 comments · Fixed by #1738
Closed

Fail tests if documents contained _ignored fields #1276

andrewkroh opened this issue May 23, 2023 · 0 comments · Fixed by #1738
Assignees
Labels
enhancement New feature or request

Comments

@andrewkroh
Copy link
Member

Fleet turned on ignore_malformed for logs data streams in elastic/kibana#157184. This causes Elasticsearch to silently ignore malformed fields (for certain types). This is great for users, but silent failures are the bane of developers and unit tests.

elastic-package should be updated to check if any documents returned in tests contain _ignored. This would indicate the document contains malformed data and the test should fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants