You are here: Home » elasticsearch
Elasticsearch
This is an old revision of the document!
Table of Contents
Cluster health
curl -s [hostname]/_cluster/health?pretty
List shards
curl localhost:9200/_cat/shards
Show allocation errors
curl localhost:9200/_cluster/allocation/explain?pretty
Snapshots
List snapshots repositories
curl -XGET [hostname]/_snapshot/_all?pretty
List all snapshots in a repository
curl -XGET [hostname]/_cat/snapshots/cs-automated?pretty
Create a new snapshot
curl -XPUT [hostname]/_snapshot/[repository]/[snapshot_name]