Command
curl -X GET 'http://localhost:9200/_cluster/stats?pretty'
Examples
Cluster stats without pretty print
curl -X GET 'http://localhost:9200/_cluster/stats'
curl -X GET 'http://localhost:9200/_cluster/stats?pretty'
Cluster stats without pretty print
curl -X GET 'http://localhost:9200/_cluster/stats'