- Observability: other versions:
- What is Elastic Observability?
- What’s new in 8.14
- Get started
- Observability AI Assistant
- Application performance monitoring (APM)
- Self manage APM Server
- Data Model
- Features
- Navigate the APM UI
- Perform common tasks in the APM UI
- Configure APM agents with central config
- Control access to APM data
- Create an alert
- Create and upload source maps (RUM)
- Create custom links
- Filter data
- Find transaction latency and failure correlations
- Identify deployment details for APM agents
- Integrate with machine learning
- Explore mobile sessions with Discover
- Observe Lambda functions
- Query your data
- Storage Explorer
- Track deployments with annotations
- OpenTelemetry integration
- Manage storage
- Configure
- Advanced setup
- Secure communication
- Monitor
- APM Server API
- APM UI API
- Troubleshoot
- Upgrade
- Release notes
- Known issues
- Log monitoring
- Infrastructure monitoring
- AWS monitoring
- Azure 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
APM Server information API
editAPM Server information API
editThe APM Server exposes an API endpoint to query general server information. This lightweight endpoint is useful as a server up/down health check.
Server Information endpoint
editThis is the server information endpoint:
http(s)://{hostname}:{port}/
Sending an HTTP GET
or HTTP POST
request to the server information endpoint
will return an HTTP 200, indicating that the server is up.
To configure authenticated access to the APM server, the instructions at APM API key or APM Secret Token, must be followed to configure the correct permissions for APM access.
If an API keys or a Secret token is passed along with
the HTTP GET
or HTTP POST
request, in addition to an HTTP 200,
the response payload will include some information about the APM server.
Example: GET, without credentials
editExample APM Server status request with GET, without credentials:
curl --verbose -X GET http://127.0.0.1:8200 * Trying 127.0.0.1:8200... * TCP_NODELAY set * Connected to 127.0.0.1 (10.244.3.40) port 8200 (#0) > GET / HTTP/1.1 > Host: 127.0.0.1:8200 > User-Agent: curl/7.68.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < X-Content-Type-Options: nosniff < Date: Tue, 17 Oct 2023 22:04:05 GMT < Content-Length: 0 < * Connection #0 to host 127.0.0.1 left intact
Example: POST, with secret token
editExample APM Server information request with POST, with a Secret token:
curl -X POST http://127.0.0.1:8200/ \ -H "Authorization: Bearer secret_token" { "build_date": "2021-12-18T19:59:06Z", "build_sha": "24fe620eeff5a19e2133c940c7e5ce1ceddb1445", "publish_ready": true, "version": "8.14.3" }
On this page