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

[8.x] 🌊 Add support for existing data streams (#202057) #202771

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## 🍒 Summary

This PR introduces the initial support for working with existing data
streams. This is done by reading the `/_data_steram` API endpoint then
converting those results to stream definitions with the `managed` flag
set to `false`, and then mixing them in with the "managed" streams
results. This PR has the following changes:

- Add `managed` field to the Stream definition
- Set `managed: true` on streams created through the system
- Update `listStreams` to return both managed and un-managed streams
- Update `readStream` to fallback to "un-managed" stream if the managed
stream is not found
- In `readStream` return all related Elasticsearch assets
- Add rudimentary UI support for classic data streams

---------

Co-authored-by: Joe Reuter <[email protected]>
(cherry picked from commit 4ec420a)
@kibanamachine kibanamachine merged commit 60c300e into elastic:8.x Dec 3, 2024
8 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
streamsApp 71.4KB 73.8KB +2.3KB

cc @simianhacker

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

Successfully merging this pull request may close these issues.

3 participants