modified Fluentd's cookbook