how to change the elastic search status from Red to Green

2,196 views
Skip to first unread message

Bass

unread,
Jun 20, 2014, 7:47:51 AM6/20/14
to elastics...@googlegroups.com
Hi All,

I just start the elastic search in my system.I checked elastic search health by using

curl -XGET localhost:9200/_cluster/health?pretty
  "cluster_name" : "elasticsearch",
  "status" : "red",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 55,
  "active_shards" : 55,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 365
}

it did not changed Yellow or green status.
I also try to restart the My System
can you know how to change the elastic search status?


Thank u

Marion Faugoin

unread,
Jul 25, 2014, 5:14:52 AM7/25/14
to elastics...@googlegroups.com
Hi,

I've never been red, but yellow.

You should try to look at your shards.

Regards
Marion
Reply all
Reply to author
Forward
0 new messages