Server information API

edit

The 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

edit

Send an HTTP GET request to the server information endpoint:

http(s)://{hostname}:{port}/

This endpoint always returns an HTTP 200.

If API keys or a Secret token is configured, requests to this endpoint must be authenticated.

Example

edit

Example 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.25"
}