ElasticSearch API notes
Cluster health info curl -qs http://x.x.x.x:9200/_cluster/health
Cluster settings curl -qs 'http://x.x.x.x:9200/_cluster/settings?include_defaults=true&pretty'
Nodes info curl -qs http://x.x.x.x:9200/_cat/nodes
Shards info curl -qs http://x.x.x.x:9200/_cat/shards
Indices info curl -qs http://x.x.x.x:9200/_cat/indices
Index settings curl -qs http://x.x.x.x:9200/myindex_0/_settings
Close index curl -qs http://x.x.x.x:9200/myindex_0/close
Open index curl -qs http://x.x.x.x:9200/myindex_0/open
Register snapshot repo curl -X PUT 'http://x.x.x.x:9200/_snapshot/backup' -H 'Content-Type: application/json' -d '{"type": "fs", "settings": {"location": "/tmp/backup"}}'
Create snapshot 'snapshot_0' in 'foo' repo curl -X PUT http://x.x.x.x:9200/_snapshot/foo/snapshot_0?wait_for_completion=true'
List snapshot repositories curl -qs http://x.x.x.x:9200/_snapshot?pretty
List snapshots in repository foo curl -qs http://x.x.x.x:9200/_snapshot/foo/_all?pretty











