Type to search.

Datastore configuration options

Serverless Observability

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

APM Agent Java

The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

APM Agent Java 1.37+

The Elastic APM Java agent enables you to trace the execution of operations in your Java applications, sending performance metrics and errors to the Elastic APM Server.

Availability

  • Generally available since 1.37

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

The URL path patterns for which the APM agent will capture the request body of outgoing requests to Elasticsearch made with the elasticsearch-restclient instrumentation. The default setting captures the body for Elasticsearch REST APIs searches and counts.

The captured request body (if any) is stored on the span.db.statement field. Captured request bodies are truncated to a maximum length defined by long_field_max_length (performance [1.37.0]). This option supports the wildcard *, which matches zero or more characters. Examples: /foo/*/bar/*/baz*, *foo*. Matching is case insensitive by default. Prepending an element with (?-i) makes the matching case sensitive.

dynamic config

Default Type Dynamic
*_search, *_msearch, *_msearch/template, *_search/template, *_count, *_sql, *_eql/search, *_async_search List true
Java System Properties Property file Environment
elastic.apm.elasticsearch_capture_body_urls elasticsearch_capture_body_urls ELASTIC_APM_ELASTICSEARCH_CAPTURE_BODY_URLS

MongoDB command names for which the command document will be captured, limited to common read-only operations by default. Set to "" (empty) to disable capture, and "*" to capture all (which is discouraged as it may lead to sensitive information capture).

This option supports the wildcard *, which matches zero or more characters. Examples: /foo/*/bar/*/baz*, *foo*. Matching is case insensitive by default. Prepending an element with (?-i) makes the matching case sensitive.

dynamic config

Default Type Dynamic
find, aggregate, count, distinct, mapReduce List true
Java System Properties Property file Environment
elastic.apm.mongodb_capture_statement_commands mongodb_capture_statement_commands ELASTIC_APM_MONGODB_CAPTURE_STATEMENT_COMMANDS