Checking for a logstash host before starting