Get data stream lifecycle stats Added in 8.12.0

GET /_lifecycle/stats

Get statistics about the data streams that are managed by a data stream lifecycle.

Responses

GET /_lifecycle/stats
curl \
 -X GET http://api.example.com/_lifecycle/stats
Response examples (200)
A successful response for `GET _lifecycle/stats?human&pretty`
{
  "data_streams": [
    {
      "name": "my-data-stream",
      "backing_indices_in_error": 0,
      "backing_indices_in_total": 2
    },
    {
      "name": "my-other-stream",
      "backing_indices_in_error": 1,
      "backing_indices_in_total": 2
    }
  ],
  "last_run_duration": "2ms",
  "data_streams_count": 2,
  "time_between_starts": "9.99s",
  "last_run_duration_in_millis": 2,
  "time_between_starts_in_millis": 9998
}