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