mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.17`: - [[Obs AI Assistant] Query remote indices by default (#193462)](https://github.com/elastic/kibana/pull/193462) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2024-11-22T14:27:16Z","message":"[Obs AI Assistant] Query remote indices by default (#193462)\n\nQuery `[ '*', '*:*' ]` by default when listing indices.\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"ae31ce1ea6b69444714e86de1aea0a6fee79e130","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:Obs AI Assistant","ci:project-deploy-observability","backport:current-major","v8.17.0"],"title":"[Obs AI Assistant] Query remote indices by default","number":193462,"url":"https://github.com/elastic/kibana/pull/193462","mergeCommit":{"message":"[Obs AI Assistant] Query remote indices by default (#193462)\n\nQuery `[ '*', '*:*' ]` by default when listing indices.\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"ae31ce1ea6b69444714e86de1aea0a6fee79e130"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193462","number":193462,"mergeCommit":{"message":"[Obs AI Assistant] Query remote indices by default (#193462)\n\nQuery `[ '*', '*:*' ]` by default when listing indices.\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"ae31ce1ea6b69444714e86de1aea0a6fee79e130"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
This commit is contained in:
parent
3e09ffc239
commit
25884bdc99
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export function registerGetDatasetInfoFunction({
|
|||
|
||||
try {
|
||||
const body = await esClient.asCurrentUser.indices.resolveIndex({
|
||||
name: index === '' ? '*' : index.split(','),
|
||||
name: index === '' ? ['*', '*:*'] : index.split(','),
|
||||
expand_wildcards: 'open',
|
||||
});
|
||||
indices = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue