diff --git a/packages/kbn-es-types/src/search.ts b/packages/kbn-es-types/src/search.ts index 3e67208bc2793..4c780fb2a2986 100644 --- a/packages/kbn-es-types/src/search.ts +++ b/packages/kbn-es-types/src/search.ts @@ -692,6 +692,7 @@ export interface ESQLSearchParams { query: string; filter?: unknown; locale?: string; + include_ccs_metadata?: boolean; dropNullColumns?: boolean; params?: Array>; } diff --git a/src/plugins/data/common/search/expressions/esql.ts b/src/plugins/data/common/search/expressions/esql.ts index 966500710fd45..a93996f163962 100644 --- a/src/plugins/data/common/search/expressions/esql.ts +++ b/src/plugins/data/common/search/expressions/esql.ts @@ -164,6 +164,7 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => { query, // time_zone: timezone, locale, + include_ccs_metadata: true, }; if (input) { const esQueryConfigs = getEsQueryConfig(