fluentd 配置文件:
<source>
@type forward
bind 0.0.0.0
port 16537
</source>
<match app.access>
@type file
path /var/log/app-${tag[1]}.%Y-%m-%d.%H%M.log
compress gzip
append true
<buffer tag,time>
@type file
path /tmp/buffer/app-access
timekey_use_utc true //这个参数是后加的,但是没有啥作用
timekey 1d
timekey_wait 0
flush_mode interval
flush_interval 86400
</buffer>
</match>
输出log文件时间
起始:
....
尾部:
如何配置起始时间为0点开始的日志输出?求教