mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Obs AI Assistant] Query remote indices by default (#193462)
Query `[ '*', '*:*' ]` by default when listing indices. Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
613396dab5
commit
ae31ce1ea6
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