Currently I am using logstash forwarder , logstash and elasticsearch to monitor my syslogs on various machines. It was working fine but it stopped working all of sudden. I noticed my logstash had stopped working.
When i tried restarting my logstash, it displayed following error in logstash.logs. It is currently in start condition but not being able to connect with elasticsearch.
message=>"Got error to send bulk of actions to elasticsearch server at localhost : blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
Elasticsearch cluster is pretty basic , one thing i have done is that initially i had started out with one machine and recently i converted it into two machines but my hostname has remained "localhost" for elasticsearch.
Thanks for the reply, i checked the elasticsearch cluster is working correctly. If i try to insert something directly it gets inserted and i can view it in kibana as well. Following is the output of the command:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.