How to get status of elasticsearch service

To get status of your elasticsearch service try to execute from commandline logged in your server following command
 
curl -XGET 'http://localhost:9200/_status'
 
 
To get some stats about your elasticsearch execute
 
curl localhost:9200/_stats