Cluster health Elasticsearch code example Example: elasticsearch check status GET /_cluster/health?wait_for_status=yellow&timeout=50s