Skip to content

feat: capture ES|QL Elasticsearch query text by default #4559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions lib/config/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ const CONFIG_SCHEMA = [
'*/_count',
'*/_sql',
'*/_eql/search',
'*/_query',
'*/_query/async',
],
envVar: 'ELASTIC_APM_ELASTICSEARCH_CAPTURE_BODY_URLS',
},
Expand Down