Could someone clarify the difference between the 'status' field on the root 
URL vs the 'status' field on /_cluster/health?  In this system, the root 
URL returns '200' even though the cluster is in 'yellow' as reported by the 
cluster health check.  What does 200 mean here?  What are other possible 
values?

~$ curl localhost:9200/_cluster/health?pretty=true
{
  "cluster_name" : "elasticsearch",
  "status" : "yellow",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 25,
  "active_shards" : 25,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 25
}

~$ curl localhost:9200/
{
  "status" : 200,
  "name" : "elk1",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "1.4.1",
    "build_hash" : "89d3241d670db65f994242c8e8383b169779e2d4",
    "build_timestamp" : "2014-11-26T15:49:29Z",
    "build_snapshot" : false,
    "lucene_version" : "4.10.2"
  },
  "tagline" : "You Know, for Search"
}

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/0e894f4a-faa2-4fe7-8176-a7a1cc846570%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to