Skip to content

Instantly share code, notes, and snippets.

@clintongormley
Created February 11, 2011 11:53
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 clintongormley/822247 to your computer and use it in GitHub Desktop.
Save clintongormley/822247 to your computer and use it in GitHub Desktop.
# [Thu Feb 10 13:21:05 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XGET 'http://127.0.0.1:9200/_cluster/health?timeout=30s&wait_for_status=green'
# [Thu Feb 10 13:21:05 2011] Response:
# {
# "number_of_data_nodes" : 3,
# "relocating_shards" : 0,
# "active_shards" : 0,
# "status" : "green",
# "cluster_name" : "es_test",
# "active_primary_shards" : 0,
# "timed_out" : false,
# "initializing_shards" : 0,
# "number_of_nodes" : 3,
# "unassigned_shards" : 0
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment