Get Prometheus build information

  • GET /_prometheus/{index}/api/v1/status/buildinfo
  • GET /_prometheus/api/v1/status/buildinfo
Auth

Get Elasticsearch build information in the format of the Prometheus /api/v1/status/buildinfo endpoint. Prometheus-compatible clients, such as Grafana, call this endpoint to identify the backend and the features it supports.

Path parameters

index string optional

An index pattern, accepted for consistency with the other Prometheus endpoints. The response doesn't depend on it.

Leave it out to use /_prometheus/api/v1/status/buildinfo.

Response

application/json
status string required

The status of the request. It is always success.

data object required

The Elasticsearch build information.

application string required

The name of the application. It is always Elasticsearch.

version string required

The Elasticsearch version.

revision string required

The commit hash of the Elasticsearch build.

buildDate union oneOf required

The date of the Elasticsearch build.

One of: string or number