@type forward port 24224 @type syslog port 5140 tag system @type tail path /var/log/httpd/access_log pos_file /var/log/td-agent/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 localhost port 12201 tls true tls_options {"cert":"/home/vagrant/certs/td-agent/td-agent-signed.crt", "key":"/home/vagrant/certs/td-agent/td-agent.key"} flush_interval 5s