@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
protocol tcp
host vagrant_graylog_1
port 12201
flush_interval 5s