Skip to content

rotate_age の設定について教えてほしい #4226

Discussion options

You must be logged in to vote

なるほど!
System Configurationのログ設定は、Fluentdが出力するFluentd自身の動作ログ用の設定なので、実現したいこととは関係なさそうです。

out_fileプラグインに1日単位でファイルを出力させることができれば、実現できたことになりますかね?

out_fileはデフォルトで1日単位のサフィックスを付けるはずなので、
append trueを設定して追記モードにすれば、そうなるはずです。

圧縮させた場合も問題なく動作するはずです。
gz圧縮形式は解凍せずに追記可能なので、圧縮のままどんどん追記していけます。

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@mikankun1003
Comment options

@daipom
Comment options

Answer selected by mikankun1003
@mikankun1003
Comment options

@daipom
Comment options

Comment options

You must be logged in to vote
1 reply
@daipom
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants