File tree 1 file changed +3
-2
lines changed
public/components/event_analytics/explorer 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import {
44
44
DATE_PICKER_FORMAT ,
45
45
DEFAULT_AVAILABILITY_QUERY ,
46
46
EVENT_ANALYTICS_DOCUMENTATION_URL ,
47
+ FINAL_QUERY ,
47
48
PATTERNS_EXTRACTOR_REGEX ,
48
49
PATTERNS_REGEX ,
49
50
RAW_QUERY ,
@@ -544,7 +545,7 @@ export const Explorer = ({
544
545
const showTimeBasedComponents =
545
546
( isDefaultDataSourceType || appLogEvents ) &&
546
547
query [ SELECTED_TIMESTAMP ] !== '' &&
547
- ! query [ RAW_QUERY ] . match ( PPL_DESCRIBE_INDEX_REGEX ) ;
548
+ ! query [ FINAL_QUERY ] . match ( PPL_DESCRIBE_INDEX_REGEX ) ;
548
549
549
550
const mainContent = useMemo ( ( ) => {
550
551
return (
@@ -650,7 +651,7 @@ export const Explorer = ({
650
651
rowsAll = { explorerData . jsonDataAll }
651
652
explorerFields = { explorerFields }
652
653
timeStampField = {
653
- ! query [ RAW_QUERY ] . match ( PPL_DESCRIBE_INDEX_REGEX )
654
+ ! query [ FINAL_QUERY ] . match ( PPL_DESCRIBE_INDEX_REGEX )
654
655
? queryRef . current ! [ SELECTED_TIMESTAMP ]
655
656
: ''
656
657
}
You can’t perform that action at this time.
0 commit comments