@type copy
@type file
path /var/log/hostlogs/containers/${tag}
append true
timekey 5s
flush_mode immediate
@type rewrite_tag_filter
key container_name
pattern /\/(.+)/
tag ${tag}.$1
@type gelf
host vagrant_graylog_1
port 12201
protocol tcp
#tls true
#tls_options {"cert":"/fluentd/etc/pki/fluentd-signed.crt",
# "key":"/fluentd/etc/pki/fluentd.key"}
flush_interval 5s