mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
add alias support (#174827)
This commit is contained in:
parent
1847cb8638
commit
cc43dab69f
1 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,11 @@ export function registerGetDatasetInfoFunction({
|
|||
name: index === '' ? '*' : index,
|
||||
expand_wildcards: 'open',
|
||||
});
|
||||
indices = [...body.indices.map((i) => i.name), ...body.data_streams.map((d) => d.name)];
|
||||
indices = [
|
||||
...body.indices.map((i) => i.name),
|
||||
...body.data_streams.map((d) => d.name),
|
||||
...body.aliases.map((d) => d.name),
|
||||
];
|
||||
} catch (e) {
|
||||
indices = [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue