User Tools

Site Tools


elasticsearch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
elasticsearch [2018/01/18 17:26]
k2patel [Templates]
elasticsearch [2018/08/09 12:07] (current)
k2patel [Quick Commands]
Line 10: Line 10:
 <code bash> <code bash>
 curl -XGET '​http://​localhost:​9200/​_nodes?​pretty=true'​ curl -XGET '​http://​localhost:​9200/​_nodes?​pretty=true'​
 +</​code>​
 +
 +== List all Indexes ==
 +<code bash>
 +curl http://​localhost:​9200/​_cat/​indices?​v
 </​code>​ </​code>​
  
Line 20: Line 25:
 <code bash> <code bash>
 curl -XGET '​http://​localhost:​9200/​_cat/​shards/​filebeat?​pretty=true'​ curl -XGET '​http://​localhost:​9200/​_cat/​shards/​filebeat?​pretty=true'​
 +</​code>​
 +
 +== Delete indexes ==
 +<code bash>
 +curl -XDELETE '​http://​localhost:​9200/​*.reindex'​
 </​code>​ </​code>​
 ==== Templates ==== ==== Templates ====
elasticsearch.1516314373.txt.gz ยท Last modified: 2018/01/18 17:26 by k2patel