Menu
Get data stream lifecycle stats
Get data stream lifecycle stats
GET
/_lifecycle/statsUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get data stream lifecycle stats action (under data stream).
- Fill in the fields below, then reference the result from later steps as
{{getDataStreamLifecycleStats.response.data}}.
Fields
Response
Returns 200 with an object. Read it in later steps with {{getDataStreamLifecycleStats.response.data.<field>}}.
{
"data_stream_count": 0,
"data_streams": [
{
"backing_indices_in_error": 0,
"backing_indices_in_total": 0,
"name": null
}
],
"last_run_duration_in_millis": null,
"time_between_starts_in_millis": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?