To view free disk space in ElasticSearch machines use any of following url:
$ curl "http://host1:9200/_cat/nodes?h=h,diskAvail"
If you need output in json format use following command:
$ curl "http://me31:9200/_nodes/stats/fs?pretty=1"
While trying to setup ELK(Elastic Search, Logstash and Kibana) I got an error saying “Connection Failed”
If you are suing elastic search version 1.4 or above this issue will occur.
To resolve it append following lines in elasticsearch.yml file(which is in config directory of elastic search):
After adding above lines restart elasticsearch.
This should fix “Connection Failed” issue.