updated to match logstash changes