[APM] Kql Search Bar suggests values outside the selected time range (#91918)

This commit is contained in:
Cauê Marcondes 2021-02-19 08:57:14 -05:00 committed by GitHub
parent f8fd08fbcd
commit 1fa742d0ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ import { withApmSpan } from '../../utils/with_apm_span';
export interface IndexPatternTitleAndFields {
title: string;
timeFieldName: string;
fields: FieldDescriptor[];
}
@ -52,6 +53,7 @@ export const getDynamicIndexPattern = ({
const indexPattern: IndexPatternTitleAndFields = {
fields,
timeFieldName: '@timestamp',
title: indexPatternTitle,
};