@type forward port 24224 @type syslog port 5140 tag system @type tail path /var/log/httpd/access_log pos_file /var/log/httpd/access_log.pos tag httpd.access @type apache2 @type copy @type file path /var/log/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