ip
, path
, etc.) and buffers them.gem install fluent-plugin-s3
.type tail
: The tail Input plugin continuously tracks the log file.format apache2
: Uses Fluentd's built-in Apache log parser.path /var/log/apache2/access_log
: The location of the Apache log.tag s3.apache.access
: s3.apache.access
is used as the tag to<match>...</match>
is used (i.e. the log is routed according to the config inside). In this example, the s3.apache.access
tag (generated by tail
) is always used.ab
(Apache Bench) program.time_slice_format
condition has been met. To change the output frequency, please modify the time_slice_format
value. To write files every minute, please use %Y%m%d%H%M
for the time_slice_format
.