-
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
[Stack monitoring] adapt ES queries to updated document structure #121641
Conversation
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @klacabane |
Looks good! Sounds like we are ok removing the versioning also changed and discussed here https://github.com/elastic/kibana/pull/121609/files#r773630577 |
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.
I also didn't test CCR (or ML). I'll keep exploring the elastic-stack-testing today to see if that might offer a good place to exercise all these different stack permutations. |
Looks like |
…astic#121641) * adapt ES queries to updated document structure * lint * Revert "lint" This reverts commit 2ad61e4. * Revert "adapt ES queries to updated document structure" This reverts commit 25d4357. * fix cluster state property accesses * only query index_recovery with ecs compliant indices * lint * setup/teardown to support datastreams * lint * update _mb archived data to target .monitoring index * load archive with useCreate for datastream compatibility * Revert "update _mb archived data to target .monitoring index" This reverts commit 7bad361. * ignore non-elasticsearch archived documents * Revert "ignore non-elasticsearch archived documents" This reverts commit 26daeb7. * use correct index for archived documents * add datastream lifecycle helper for api-integration tests * use datastream lifecycle methods * transform ccr_mb archive * clean up datastreams * lint * load _mb data Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…21641) (#121949) * adapt ES queries to updated document structure * lint * Revert "lint" This reverts commit 2ad61e4. * Revert "adapt ES queries to updated document structure" This reverts commit 25d4357. * fix cluster state property accesses * only query index_recovery with ecs compliant indices * lint * setup/teardown to support datastreams * lint * update _mb archived data to target .monitoring index * load archive with useCreate for datastream compatibility * Revert "update _mb archived data to target .monitoring index" This reverts commit 7bad361. * ignore non-elasticsearch archived documents * Revert "ignore non-elasticsearch archived documents" This reverts commit 26daeb7. * use correct index for archived documents * add datastream lifecycle helper for api-integration tests * use datastream lifecycle methods * transform ccr_mb archive * clean up datastreams * lint * load _mb data Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kevin Lacabane <[email protected]>
Summary
Part of #121282
Updates stack monitoring to read off
.monitoring-{product}-8-*
datastreams created by ES at startup. This change only covers the elasticsearch product.The
_mb
archived datasets used by functional and api tests were updated to target the new indices (with this script) and the elasticsearch tests updated to support datastreams. also manually tested and compared the views against the 7.16xpack.enabled
version with a single-node snapshot setupsmall fixes were required in the metricbeat module to get some data to load
Testing
elasticsearch-xpack
module enabled