Menu
Get data stream stats (GET /_data_stream/_stats)
Get data stream stats
GET
/_data_stream/_statsUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get data stream stats (GET /_data_stream/_stats) action (under data stream).
- Fill in the fields below, then reference the result from later steps as
{{getDataStreamStatsGetDataStreamStats.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDataStreamStatsGetDataStreamStats.response.data.<field>}}.
{
"_shards": null,
"backing_indices": 0,
"data_stream_count": 0,
"data_streams": [
{
"backing_indices": 0,
"data_stream": null,
"maximum_timestamp": null,
"store_size_bytes": 0,
"store_size": null
}
],
"total_store_size_bytes": 0,
"total_store_sizes": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?