Elasticsearch 9 · Cluster and health

Check cluster health

Show the status: green, yellow or red.

curl -u elastic:$ELASTIC_PASSWORD --cacert http_ca.crt "https://localhost:9200/_cluster/health?pretty"

Official Elasticsearch 9 documentation

More cluster and health commands

All cluster and health commands · Elasticsearch 9 cheatsheet

Was this page helpful?