Skip to content

Commit

Permalink
[8.x] [Obs AI Assistant] Query remote indices by default (elastic#193462
Browse files Browse the repository at this point in the history
) (elastic#201399)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Query remote indices by default
(elastic#193462)](elastic#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":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T14:27:16Z","message":"[Obs
AI Assistant] Query remote indices by default (elastic#193462)\n\nQuery `[ '*',
'*:*' ]` by default when listing indices.\r\n\r\nCo-authored-by: Elastic
Machine
<[email protected]>","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 (elastic#193462)\n\nQuery `[ '*',
'*:*' ]` by default when listing indices.\r\n\r\nCo-authored-by: Elastic
Machine
<[email protected]>","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 (elastic#193462)\n\nQuery `[ '*',
'*:*' ]` by default when listing indices.\r\n\r\nCo-authored-by: Elastic
Machine
<[email protected]>","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 <[email protected]>
  • Loading branch information
kibanamachine and dgieselaar authored Nov 22, 2024
1 parent ec39ce4 commit 687013c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 687013c

Please sign in to comment.