Skip to content

Commit e3771c7

Browse files
committed
use final query field for app analytics support
Signed-off-by: Paul Sebastian <[email protected]>
1 parent 26592ef commit e3771c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/components/event_analytics/explorer/explorer.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import {
4444
DATE_PICKER_FORMAT,
4545
DEFAULT_AVAILABILITY_QUERY,
4646
EVENT_ANALYTICS_DOCUMENTATION_URL,
47+
FINAL_QUERY,
4748
PATTERNS_EXTRACTOR_REGEX,
4849
PATTERNS_REGEX,
4950
RAW_QUERY,
@@ -544,7 +545,7 @@ export const Explorer = ({
544545
const showTimeBasedComponents =
545546
(isDefaultDataSourceType || appLogEvents) &&
546547
query[SELECTED_TIMESTAMP] !== '' &&
547-
!query[RAW_QUERY].match(PPL_DESCRIBE_INDEX_REGEX);
548+
!query[FINAL_QUERY].match(PPL_DESCRIBE_INDEX_REGEX);
548549

549550
const mainContent = useMemo(() => {
550551
return (
@@ -650,7 +651,7 @@ export const Explorer = ({
650651
rowsAll={explorerData.jsonDataAll}
651652
explorerFields={explorerFields}
652653
timeStampField={
653-
!query[RAW_QUERY].match(PPL_DESCRIBE_INDEX_REGEX)
654+
!query[FINAL_QUERY].match(PPL_DESCRIBE_INDEX_REGEX)
654655
? queryRef.current![SELECTED_TIMESTAMP]
655656
: ''
656657
}

0 commit comments

Comments
 (0)