Skip to content

Instantly share code, notes, and snippets.

@munhitsu
Created December 15, 2015 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munhitsu/a99465368c969a2ce3d7 to your computer and use it in GitHub Desktop.
Save munhitsu/a99465368c969a2ce3d7 to your computer and use it in GitHub Desktop.
#check logs
curl http://localhost:9200/_cluster/health?pretty
curl http://localhost:9200/_cat/indices?v
curl http://localhost:9200/_cat/nodes?v
curl http://localhost:9200/_cat/shards?v
curl localhost:9200/_nodes/process?pretty
# seeing single node(server) cluster yellow as some indexes have replica >= 1?
curl -XPUT http://localhost:9200/_settings -d '{ "number_of_replicas" :0 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment