Difference between revisions of "ElasticSearch Cheat Sheet"

From Gejoreuy
Jump to navigation Jump to search
 
Line 10: Line 10:
  
 
  $ curl -XDELETE http://localhost-0:9200/[index_name]
 
  $ curl -XDELETE http://localhost-0:9200/[index_name]
 +
 +
'''Check Cluster Health'''
 +
 +
http://localhost:9200/_cluster/health
 +
 +
 +
''' Check Size Per Index'''
 +
 +
http://localhost:9200/_cat/indices?h=index,store.size&format=json&bytes=mb?s=store.size:desc

Latest revision as of 07:17, 10 June 2022