Configuration referenceedit

enablededit

By default, the Elastic APM extension is enabled. It can be disabled by setting elastic_apm.enabled=false.

server_urledit

elastic_apm.server_url

The URL for your APM Server.

secret_tokenedit

elastic_apm.secret_token

Used to ensure that only your agents can send data to your APM server. Both the agents and the APM server have to be configured with the same secret token. Use this setting if the APM Server requires a token, like in Elasticsearch Service.

service_nameedit

elastic_apm.service_name

Groups all of the errors and transactions of your service together. This is the primary filter in the APM app.

service_versionedit

elastic_apm.service_version

The version of the currently deployed service. If you don’t version your deployments, the recommended value for this field is the commit identifier of the deployed revision, e.g., the output of git rev-parse HEAD.

log_leveledit

elastic_apm.log_level

Fallback configuration setting to control the logging level for the agent. This setting has effect for the sink when sink specific option is not set explicitly. See Logging for details.

This setting doesn’t have a default value.

log_level_syslogedit

elastic_apm.log_level_syslog

The logging level for syslog logging sink. See Logging for details.

This setting doesn’t have a default value.