feat(streams): add significant events and queries API#216221
feat(streams): add significant events and queries API#216221kdelemme merged 44 commits intoelastic:mainfrom
Conversation
|
@kdelemme cheers, I think it's fine to remove the UI entirely then I can just diff my changes on top of main |
|
/ci |
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --update'
|
Thanks @dgieselaar |
gsoldevila
left a comment
There was a problem hiding this comment.
LGTM (code review only), the dependencies added in the kibana.jsonc manifest don't violate the Sustainable Arch principles.
src/platform/packages/shared/kbn-zod-helpers/src/date_from_string.ts
Outdated
Show resolved
Hide resolved
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --update'
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Unknown metric groupsAPI count
History
|
maximpn
left a comment
There was a problem hiding this comment.
Changes to kbn-zod-helpers/src/deep_strict LGTM
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/14308807451 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit e71ea24) # Conflicts: # oas_docs/bundle.json # oas_docs/output/kibana.yaml # src/platform/packages/shared/kbn-zod-helpers/src/deep_strict.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#217500) # Backport This will backport the following commits from `main` to `8.x`: - [feat(streams): add significant events and queries API (#216221)](#216221) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2025-04-07T12:10:25Z","message":"feat(streams): add significant events and queries API (#216221)","sha":"e71ea24e0f9eca540dd4dad5ff1b8e6d4f9df25c","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"feat(streams): add significant events and queries API","number":216221,"url":"https://github.com/elastic/kibana/pull/216221","mergeCommit":{"message":"feat(streams): add significant events and queries API (#216221)","sha":"e71ea24e0f9eca540dd4dad5ff1b8e6d4f9df25c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216221","number":216221,"mergeCommit":{"message":"feat(streams): add significant events and queries API (#216221)","sha":"e71ea24e0f9eca540dd4dad5ff1b8e6d4f9df25c"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Summary
Resolves #214374
This PR adds a significant events API that executes the saved queries from the streams and returns the histogram and change points values.
It also adds the upsert, delete and bulk queries API.
@dgieselaar let me know if you want me to clean it up: there are some UI works in there as well but I don't want to mess with your history since your other branch is based on this one...