View The Space is Hiring

Thursday, June 23, 2011

Elasticsearch cluster health in ruby

Recently (just now) I was creating a large elastic search cluster using zen discovery because I could not get ec2 discovery to work. Picture an elasticsearch.yml file like this but with many more hosts:

I wanted to check the cluster health of each node to make sure that they all were part of my cluster so I whipped together a quick ruby script to get the job done.

No comments:

Post a Comment