changed logstash.conf check