WIP on elasticsearch/logstash#2077