implement for fluentd-v11

ref. https://gist.github.com/sonots/6199142