Hi users!
We have released v1.11.3. ChangeLog is here.
ignore_same_log_interval
parameterFluentd has ignore_repeated_log_interval
parameter but this is not enough for some frequent log generation case.
For example, if the plugin generates several log messages in one action, logs are not repeated:
# retry generates same error messages with ignore_repeated_log_interval
def write(chunk)
# process 1...
log.error "message1"
# process 2...
log.error "message2"
end
ignore_same_log_interval
resolves these cases. With this option, logger keeps to store all log messages for validation.
<system>
ignore_same_log_interval 60s
</system>
in_exec
doesn't read stderr and this is not good for script debug.
To resolve this problem, add connect_mode
parameter to read stderr logs.
<source>
@type exec
tag somescript
command python /path/to/script.py
connect_mode read_with_stderr
<parse>
@type none
</parse>
</source>
Enjoy logging!
Subscribed to the RSS feed here.
Masahiro (@repeatedly) is the main maintainer of Fluentd. He works on Fluentd development and support full-time. He is also a committer of the D programming language.
Fluentd is an open source data collector to unify log management.
2021-01-05: Fluentd v1.12.0 has been released
2020-11-06: Fluentd v1.11.5 has been released
2020-10-28: Fluentd Ecosystem Survey 2020
2020-09-30: Fluentd v1.11.3 has been released
2020-08-06: Fluentd v1.11.2 has been released
Want to learn the basics of Fluentd? Check out these pages.
Couldn't find enough information? Let's ask the community!
You need commercial-grade support from Fluentd committers and experts?
©2010-2021 Fluentd Project. ALL Rights Reserved.
Fluentd is a hosted project under the Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.