cleanup the logstash config