Menu
Get the cluster health status (GET /_cluster/health)
Get the cluster health status
GET
/_cluster/healthUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get the cluster health status (GET /_cluster/health) action (under cluster).
- Fill in the fields below, then reference the result from later steps as
{{getTheClusterHealthStatusGetClusterHealth.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getTheClusterHealthStatusGetClusterHealth.response.data.<field>}}.
{
"active_primary_shards": 0,
"active_shards": 0,
"active_shards_percent_as_number": 0,
"cluster_name": null,
"delayed_unassigned_shards": 0,
"initializing_shards": 0,
"number_of_data_nodes": 0,
"number_of_in_flight_fetch": 0,
"number_of_nodes": 0,
"number_of_pending_tasks": 0,
"relocating_shards": 0,
"status": null
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?