Prettify json output for curl response

$ curl -XGET http://${elasticsearch\_ip}:9200/_cluster/nodes | python -m json.tool
Comments