diff --git a/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx b/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx index ba978debb73de..1b8226bb03cbf 100644 --- a/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx +++ b/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx @@ -56,7 +56,7 @@ export const ESQLMenuPopover: React.FC = ({ const esqlContextMenuPanels = useMemo(() => { const recommendedQueries = []; if (adHocDataview && typeof adHocDataview !== 'string') { - const queryString = `from ${adHocDataview.name}`; + const queryString = `FROM ${adHocDataview.name}`; const timeFieldName = adHocDataview.timeFieldName ?? adHocDataview.fields?.getByType('date')?.[0]?.name;