added indexer check to fix double logstash