Type to search.

Get data stream lifecycle stats

  • GET /_lifecycle/stats
Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 8.12 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

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

About data stream lifecycle

Required privileges

Cluster privileges monitor

Response

application/json
data_stream_count number required

The count of data streams currently being managed by the data stream lifecycle.

data_streams object[] required

Information about the data streams that are managed by the data stream lifecycle.

backing_indices_in_error number required

The count of the backing indices for the data stream.

backing_indices_in_total number required

The count of the backing indices for the data stream that have encountered an error.

name string required

The name of the data stream.

last_run_duration_in_millis number

The duration of the last data stream lifecycle execution.

time_between_starts_in_millis number

The time that passed between the start of the last two data stream lifecycle executions. This value should amount approximately to data_streams.lifecycle.poll_interval.