Detect Elastic Search Server is up

Is there a way to make logstash not to parse data until it detects that the Elasticsearch server is up and ready

I don't think there's a simple way of doing that. What problem are you trying to solve?

My server has to be off by the end of the day. What I want is that I can start the parsing new data automatically once the server is up. This can be a potential problem as the Elasticsearch server might not be ready for the logstash output.

Won't the current elasticsearch output's retry policy take care of this?