- Observability: other versions:
- What is Elastic Observability?
- What’s new in 8.12
- Get started
- Observability AI Assistant
- Application performance monitoring (APM)
- Self manage APM Server
- Data Model
- Features
- How-to guides
- OpenTelemetry integration
- Manage storage
- Configure
- Advanced setup
- Secure communication
- Monitor
- API
- Troubleshoot
- Upgrade
- Release notes
- Known issues
- Logs
- Infrastructure monitoring
- AWS monitoring
- 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
- 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
- Uptime monitoring
- Real user monitoring
- Universal Profiling
- Alerting
- Service-level objectives (SLOs)
- Cases
- CI/CD observability
- Troubleshooting
- Fields reference
- Tutorials
- Monitor Amazon Web Services (AWS) with Elastic Agent
- Monitor Amazon Web Services (AWS) with Beats
- Monitor Google Cloud Platform
- Monitor a Java application
- Monitor Kubernetes
- Monitor Microsoft Azure with Elastic Agent
- Monitor Microsoft Azure with the Azure Native ISV Service
- Monitor Microsoft Azure with Beats
Enable APM Server binary debugging
editEnable APM Server binary debugging
editFleet-managed users should see View Elastic Agent logs to learn how to view logs and change the logging level of Elastic Agent.
By default, APM Server sends all its output to syslog. When you run APM Server in
the foreground, you can use the -e
command line flag to redirect the output to
standard error instead. For example:
apm-server -e
The default configuration file is apm-server.yml (the location of the file varies by
platform). You can use a different configuration file by specifying the -c
flag. For example:
apm-server -e -c myapm-serverconfig.yml
You can increase the verbosity of debug messages by enabling one or more debug
selectors. For example, to view publisher-related messages, start APM Server
with the publisher
selector:
apm-server -e -d "publisher"
If you want all the debugging output (fair warning, it’s quite a lot), you can
use *
, like this:
apm-server -e -d "*"