This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
elasticsearch [2018/01/18 22:26] k2patel [Templates] |
elasticsearch [2020/08/10 02:35] 127.0.0.1 external edit |
||
---|---|---|---|
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 ==== |