mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Logs UI] Fix value completion in the logs stream query bar (#85772)
This ensures that the correct index name pattern is passed as the fake `IIndexPattern` `title`.
This commit is contained in:
parent
93dcaeea68
commit
2106419007
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ export const useLogSource = ({ sourceId, fetch }: { sourceId: string; fetch: Htt
|
|||
const derivedIndexPattern = useMemo(
|
||||
() => ({
|
||||
fields: sourceStatus?.logIndexFields ?? [],
|
||||
title: sourceConfiguration?.configuration.name ?? 'unknown',
|
||||
title: sourceConfiguration?.configuration.logAlias ?? 'unknown',
|
||||
}),
|
||||
[sourceConfiguration, sourceStatus]
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue