Skip to content

Conversation

@toru-takahashi
Copy link
Contributor

exec_filter shows "localtime is false as default".
Ref. https://docs.fluentd.org/output/exec_filter#less-than-parse-greater-than-section

But, config doc shows "localtime (bool) (optional): if true, uses local time. Otherwise, UTC is used. This is exclusive with utc. Default: true"
Ref. https://docs.fluentd.org/configuration/parse-section

In the code, it says true as default.
https://github.com/fluent/fluentd/blob/master/lib/fluent/plugin/out_exec_filter.rb#L47

Thus, this change fix the default localtime value in the exec_filter page

exec_filter shows "localtime is false as default".
Ref. https://docs.fluentd.org/output/exec_filter#less-than-parse-greater-than-section

But, config doc shows "localtime (bool) (optional): if true, uses local time. Otherwise, UTC is used. This is exclusive with utc. Default: true"
Ref. https://docs.fluentd.org/configuration/parse-section

In the code, it says true as default.
https://github.com/fluent/fluentd/blob/master/lib/fluent/plugin/out_exec_filter.rb#L47

Thus, this change fix the default localtime value in the exec_filter page

Signed-off-by: Toru Takahashi <4136375+toru-takahashi@users.noreply.github.com>
@ashie ashie merged commit bb9c3ac into fluent:1.0 Aug 28, 2021
@ashie
Copy link
Member

ashie commented Aug 28, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants