Menu
Get index statistics (GET /_stats)
Get index statistics
GET
/_statsUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get index statistics (GET /_stats) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{getIndexStatisticsGetStats.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getIndexStatisticsGetStats.response.data.<field>}}.
{
"_shards": null,
"_all": null,
"indices": {}
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?