2020-02-07 21:14:50 +00:00
|
|
|
<source>
|
|
|
|
@type forward
|
|
|
|
port 24224
|
|
|
|
</source>
|
|
|
|
|
2020-02-10 21:17:24 +00:00
|
|
|
<source>
|
|
|
|
@type syslog
|
|
|
|
port 5140
|
|
|
|
tag system
|
|
|
|
</source>
|
|
|
|
|
2020-02-11 21:25:20 +00:00
|
|
|
<source>
|
|
|
|
@type tail
|
|
|
|
path /var/log/hostlogs/httpd/access_log
|
|
|
|
pos_file /var/log/hostlogs/httpd/access_log.pos
|
|
|
|
tag httpd.access
|
|
|
|
<parse>
|
|
|
|
@type apache2
|
|
|
|
</parse>
|
|
|
|
</source>
|
|
|
|
|
2020-02-18 22:43:28 +00:00
|
|
|
<match devel.*>
|
2020-02-19 17:26:34 +00:00
|
|
|
@type copy
|
|
|
|
<store>
|
|
|
|
@type file
|
|
|
|
path /var/log/hostlogs/containers/${tag}
|
|
|
|
append true
|
|
|
|
<buffer tag>
|
|
|
|
timekey 5s
|
|
|
|
flush_mode immediate
|
|
|
|
</buffer>
|
|
|
|
</store>
|
|
|
|
<store>
|
|
|
|
@type rewrite_tag_filter
|
|
|
|
<rule>
|
|
|
|
key container_name
|
2020-02-19 17:39:43 +00:00
|
|
|
pattern /\/(.+)/
|
2020-02-19 17:26:34 +00:00
|
|
|
tag ${tag}.$1
|
|
|
|
</rule>
|
|
|
|
</store>
|
2020-02-18 22:43:28 +00:00
|
|
|
</match>
|
|
|
|
|
2020-02-07 21:14:50 +00:00
|
|
|
<match **>
|
|
|
|
@type gelf
|
|
|
|
host vagrant_graylog_1
|
|
|
|
port 12201
|
|
|
|
flush_interval 5s
|
|
|
|
</match>
|