-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
saved_query
: Cleanup saved objects mappings
#153131
saved_query
: Cleanup saved objects mappings
#153131
Conversation
@elastic/kibana-data-discovery @elastic/kibana-visualizations if CI goes green, we can use this PR to clean up the savedSearch mappings. |
@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.
cleanup self reviw
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Saved Objects .kibana field count
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
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.
Changes LGTM, did a quick test locally too just in case and everything seems fine 👍
if CI goes green, we can use this PR to clean up the savedSearch mappings.
I'm not sure if I'm just misunderstanding this point, but these changes will affect the "saved query" mappings (queries saved from the Unified Search bar), not the "saved search" mappings (Discover searches), which are located in src/plugins/saved_search/server/saved_objects/search.ts
.
Thanks raising this to clarify. I think there was some confusion about what saved_query saved objects are used for but the important thing is that we clean up these mappings. 👍 |
NP and definitely, they all need to be cleaned up regardless. We've discussed renaming these at some point anyway -- if it's confusing for our own team, I can only imagine it's even more confusing for our users 😅 |
## Summary A follow up for #153131 This PR adds schemas for kql-telemetry and search-telemetry SO types.
## Summary A follow up for #153131 This PR adds schema for Saved Query SO type.
Summary
Related to #149102
Subset of the global cleanup attempt in #153070
Cleans up
saved_query
mappings