IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Server Information API
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Server Information API
editThis documentation refers to the API of the standalone (legacy) APM Server. This method of running APM Server will be deprecated and removed in a future release. Please consider upgrading to Fleet and the APM integration. If you’ve already upgraded, see Server information API.
The APM Server exposes an API endpoint to query general server information. This lightweight endpoint is useful as a server up/down healthcheck.
Server Information endpoint
editSend an HTTP GET
request to the server information endpoint:
http(s)://{hostname}:{port}/
This endpoint always returns an HTTP 200.
If an API keys or Secret token is set, only requests including authentication will receive server details.
Example
editExample APM Server information request:
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": "7.17.29" }