Skip to content

Commit

Permalink
filtering kql by time range
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Feb 18, 2021
1 parent 03206b6 commit 20e8047
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { withApmSpan } from '../../utils/with_apm_span';

export interface IndexPatternTitleAndFields {
title: string;
timeFieldName: string;
fields: FieldDescriptor[];
}

Expand Down Expand Up @@ -52,6 +53,7 @@ export const getDynamicIndexPattern = ({

const indexPattern: IndexPatternTitleAndFields = {
fields,
timeFieldName: '@timestamp',
title: indexPatternTitle,
};

Expand Down

0 comments on commit 20e8047

Please sign in to comment.