add some logstash-related code