[ML] Hide ES|QL based saved searches in ML & Transforms#195084
[ML] Hide ES|QL based saved searches in ML & Transforms#195084rbrtj merged 2 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/ml-ui (:ml) |
| } | ||
| ), | ||
| showSavedObject: (savedObject: SavedObject) => | ||
| // ES|QL Based saved searches are not supported across ML, filter them out |
There was a problem hiding this comment.
It covers:
- Data Visualizer => Data View
- AIOps Labs
- Anomaly Detection => Jobs
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @rbrtj |
| defaultMessage: 'Saved search', | ||
| } | ||
| ), | ||
| showSavedObject: (savedObject: SavedObject) => |
There was a problem hiding this comment.
Interestingly the transform wizard used to partially work when selecting an ES|QL based saved search, successfully pulling out the index pattern from the search to use in the transform. However the other commands in the search (WHERE, RENAME, DROP etc) would be ignored, so I think this change is correct, filtering out ES|QL based saved searches until if / when the transform wizard supports the whole of the search.
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11250933204 |
## Summary Fix for: [elastic#187962](elastic#187962) We were displaying ES|QL based searches in various areas of ML, not just in the places mentioned in the issue. Before:  Then, after selecting the ESQL based search:  After the fix:  (cherry picked from commit 1b4ebaa)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…95084) (#195541) # Backport This will backport the following commits from `main` to `8.x`: - [[ML] Hide ES|QL based saved searches in ML & Transforms (#195084)](#195084) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Robert Jaszczurek","email":"92210485+rbrtj@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-09T08:14:50Z","message":"[ML] Hide ES|QL based saved searches in ML & Transforms (#195084)\n\n## Summary\r\n\r\nFix for: [#187962](https://github.com/elastic/kibana/issues/187962)\r\nWe were displaying ES|QL based searches in various areas of ML, not just\r\nin the places mentioned in the issue.\r\nBefore:\r\n\r\nThen, after selecting the ESQL based search:\r\n\r\n\r\nAfter the fix:\r\n\r\n","sha":"1b4ebaa85261074aec775d23165474863ddea45a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","v9.0.0","Team:ML","v8.16.0","backport:version"],"title":"[ML] Hide ES|QL based saved searches in ML & Transforms","number":195084,"url":"https://github.com/elastic/kibana/pull/195084","mergeCommit":{"message":"[ML] Hide ES|QL based saved searches in ML & Transforms (#195084)\n\n## Summary\r\n\r\nFix for: [#187962](https://github.com/elastic/kibana/issues/187962)\r\nWe were displaying ES|QL based searches in various areas of ML, not just\r\nin the places mentioned in the issue.\r\nBefore:\r\n\r\nThen, after selecting the ESQL based search:\r\n\r\n\r\nAfter the fix:\r\n\r\n","sha":"1b4ebaa85261074aec775d23165474863ddea45a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195084","number":195084,"mergeCommit":{"message":"[ML] Hide ES|QL based saved searches in ML & Transforms (#195084)\n\n## Summary\r\n\r\nFix for: [#187962](https://github.com/elastic/kibana/issues/187962)\r\nWe were displaying ES|QL based searches in various areas of ML, not just\r\nin the places mentioned in the issue.\r\nBefore:\r\n\r\nThen, after selecting the ESQL based search:\r\n\r\n\r\nAfter the fix:\r\n\r\n","sha":"1b4ebaa85261074aec775d23165474863ddea45a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
Summary
Fix for: #187962



We were displaying ES|QL based searches in various areas of ML, not just in the places mentioned in the issue.
Before:
Then, after selecting the ESQL based search:
After the fix: