diff --git a/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx b/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx index 9b92d22ae432..75fcabe27fd4 100644 --- a/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx +++ b/src/plugins/data/public/query/query_string/language_service/get_query_control_links.tsx @@ -49,7 +49,7 @@ export const QueryControls = (props: { setIsLanguageReferenceOpen(false); }; - const osdDQLDocs = 'https://opensearch.org/docs/2.16/dashboards/dql)'; + const osdDQLDocs = props.services.docLinks?.links.opensearchDashboards.dql.base; const dqlFullName = (