使用fluent / fluentd:v1.3.2 docker映像, 我正在使用文件插件,下面是fluentd.conf文件中的文件插件设置
<store>
@type file
path /myproduct/test/logs
append false
compress gzip
</store>
启动后可流畅使用以下参数:
/usr/bin/fluentd -c /test/fluent.conf --log-rotate-age 5 --log-rotate-size 1000
生成5个文件后,我看不到文件被清除。请建议我是否在fluentd.conf文件中缺少任何内容。