diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 7bc5dfebbf..ca6594c5d9 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -20,6 +20,15 @@ To check for security updates, go to [Security announcements for the Elastic sta % ### Fixes [next-fixes] +## Unreleased + +### Features and enhancements [next-features-enhancements] + +* Change the `elasticsearchCaptureBodyUrls` configuration option default to include [ES|QL](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#_esql) queries. This means that the query text for ES|QL queries will now be captured. + +### Fixes [next-fixes] + + ## 4.11.2 [4-11-2] **Release date:** March 17, 2025 diff --git a/lib/config/schema.js b/lib/config/schema.js index 1433c53046..9ee51e3e42 100644 --- a/lib/config/schema.js +++ b/lib/config/schema.js @@ -176,6 +176,8 @@ const CONFIG_SCHEMA = [ '*/_count', '*/_sql', '*/_eql/search', + '*/_query', + '*/_query/async', ], envVar: 'ELASTIC_APM_ELASTICSEARCH_CAPTURE_BODY_URLS', },