- Observability: other versions:
- Get started
- What is Elastic Observability?
- What’s new in 8.17
- Quickstart: Monitor hosts with Elastic Agent
- Quickstart: Monitor your Kubernetes cluster with Elastic Agent
- Quickstart: Monitor hosts with OpenTelemetry
- Quickstart: Unified Kubernetes Observability with Elastic Distributions of OpenTelemetry (EDOT)
- Quickstart: Collect data with AWS Firehose
- Add data from Splunk
- Applications and services
- Application performance monitoring (APM)
- Get started
- Learn about data types
- Collect application data
- View and analyze data
- Act on data
- Use APM securely
- Manage storage
- Configure APM Server
- Monitor APM Server
- APM APIs
- Troubleshooting
- Upgrade
- Release notes
- Known issues
- Synthetic monitoring
- Get started
- Scripting browser monitors
- Configure lightweight monitors
- Manage monitors
- Work with params and secrets
- Analyze monitor data
- Monitor resources on private networks
- Use the CLI
- Configure projects
- Multi-factor Authentication
- Configure Synthetics settings
- Grant users access to secured resources
- Manage data retention
- Use Synthetics with traffic filters
- Migrate from the Elastic Synthetics integration
- Scale and architect a deployment
- Synthetics support matrix
- Synthetics Encryption and Security
- Troubleshooting
- Real user monitoring
- Uptime monitoring (deprecated)
- Tutorial: Monitor a Java application
- Application performance monitoring (APM)
- CI/CD
- Cloud
- Infrastructure and hosts
- Logs
- Troubleshooting
- Incident management
- Data set quality
- Observability AI Assistant
- Reference
General configuration options
editGeneral configuration options
editGeneral APM Server configuration options.
Example config file:
apm-server: host: "localhost:8200" rum: enabled: true max_procs: 4
Configure and customize Fleet-managed APM settings directly in Kibana:
- In Kibana, find Fleet in the main menu or use the global search field.
- Under the Agent policies tab, select the policy you would like to configure.
- Find the Elastic APM integration and select Actions > Edit integration.
- Look for these settings under General.
Configuration options
editHost
editDefines the host and port the server is listening on.
Use "unix:/path/to.sock"
to listen on a Unix domain socket.
Defaults to localhost:8200. (text)
APM Server binary |
|
Fleet-managed |
|
URL
editThe publicly reachable server URL. For deployments on Elastic Cloud or ECK, the default is unchangeable.
APM Server binary |
N/A |
Fleet-managed |
|
Max header size
editMaximum permitted size of a request’s header accepted by the server to be processed (in Bytes). Defaults to 1048576 Bytes (1 MB). (int)
APM Server binary |
|
Fleet-managed |
|
Idle timeout
editMaximum amount of time to wait for the next incoming request before underlying connection is closed.
Defaults to 45s
(45 seconds). (text)
APM Server binary |
|
Fleet-managed |
|
Read timeout
editMaximum permitted duration for reading an entire request.
Defaults to 3600s
(3600 seconds). (text)
APM Server binary |
|
Fleet-managed |
|
Write timeout
editMaximum permitted duration for writing a response.
Defaults to 30s
(30 seconds). (text)
APM Server binary |
|
Fleet-managed |
|
Shutdown timeout
editMaximum duration in seconds before releasing resources when shutting down the server.
Defaults to 30s
(30 seconds). (text)
APM Server binary |
|
Fleet-managed |
|
Max event size
editMaximum permitted size of an event accepted by the server to be processed (in Bytes).
Defaults to 307200
Bytes. (int)
APM Server binary |
|
Fleet-managed |
|
Max connections
editMaximum number of TCP connections to accept simultaneously. Default value is 0, which means unlimited. (int)
APM Server binary |
|
Fleet-managed |
|
Custom HTTP response headers
editCustom HTTP headers to add to HTTP responses. Useful for security policy compliance. (text)
APM Server binary |
|
Fleet-managed |
|
Capture personal data
editIf true, APM Server captures the IP of the instrumented service and its User Agent if any. Enabled by default. (bool)
APM Server binary |
|
Fleet-managed |
|
Default service environment
editSets the default service environment to associate with data and requests received from agents which have no service environment defined. Default: none. (text)
APM Server binary |
|
Fleet-managed |
|
expvar support
editWhen set to true APM Server exposes golang expvar under /debug/vars
.
Disabled by default.
APM Server binary |
|
Fleet-managed |
|
expvar URL
editConfigure the URL to expose expvar.
Defaults to debug/vars
.
APM Server binary |
|
Fleet-managed |
N/A |
Data stream namespace
editChange the default namespace. This setting changes the name of the data stream.
For Fleet-managed users, the namespace is inherited from the selected Elastic Agent policy.
APM Server binary |
|
Fleet-managed |
|
On this page