Hand-patch
https://github.com/wiibaa/logstash/commit/538cb635bb3d143e27e07a925234aaaea534dd3d