-
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] Do not add field with index:false to query default value #145410
[Fleet] Do not add field with index:false to query default value #145410
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @nchaulet |
…stic#145410) (cherry picked from commit ca68c0f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
#145410) (#145601) # Backport This will backport the following commits from `main` to `8.6`: - [[Fleet] Do not add field with index:false to query default value (#145410)](#145410) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nicolas Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-11-17T17:14:44Z","message":"[Fleet] Do not add field with index:false to query default value (#145410)","sha":"ca68c0f9a6c5ef981de59355cc444556e329cff6","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Fleet","v8.6.0","v8.7.0"],"number":145410,"url":"https://github.com/elastic/kibana/pull/145410","mergeCommit":{"message":"[Fleet] Do not add field with index:false to query default value (#145410)","sha":"ca68c0f9a6c5ef981de59355cc444556e329cff6"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145410","number":145410,"mergeCommit":{"message":"[Fleet] Do not add field with index:false to query default value (#145410)","sha":"ca68c0f9a6c5ef981de59355cc444556e329cff6"}}]}] BACKPORT--> Co-authored-by: Nicolas Chaulet <[email protected]>
Summary
Resolve #143936
We should not add field with index.false or doc_values:false to the default query settings. That PR fix that.
Added some unit test to the settings generation.