Elasticsearch
curl Elasticsearch database
Get all indexes:
curl -XGET "http://<IP>:9200/_cat/indices?pretty"
Stored sheds in the index:
curl -v -GET "<IP>:9200/<INDEXNAME>/_search?pretty=true&q=*:*"
Information about the cluster:
curl -XGET "http://<IP>:9200/_cluster/state?pretty"
Disable replica for a single index (for single node):
curl -XPUT "http://<IP>:9200/<index>/_settings?pretty" -d '{ "index" : {"number_of_replicas" : 0}}'