Added some compatibility with logstash output