Thursday 17 March 2016

Some Useful ElasticSearch command line hack.


  • To Fetch a list of all indices.
curl 'localhost:9200/_cat/indices?v'

  • To Delete a indices.
curl -XDELETE 'http://localhost:9200/the_scp-*/'

  

  • To get cluster health
 curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'   



What did I learn today?

Welcome to the what did I learn today series. The intention of this blog spot is to compose the stuff that I learnt day-to-day basics and jo...