Elasticsearch 9 · Cluster and health

Check that the cluster is up

Return the cluster name and Elasticsearch version. Set ELASTIC_PASSWORD first, and point --cacert at your cluster's CA certificate.

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

Official Elasticsearch 9 documentation

More cluster and health commands

All cluster and health commands · Elasticsearch 9 cheatsheet

Was this page helpful?