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.
2023-08-29: Drop schedule announcement about EOL of Treasure Agent (td-agent) 4
2023-08-29: Scheduled support lifecycle announcement about Fluent Package
2023-07-31: Upgrade to fluent-package v5
2024-03-29: fluent-package v5.0.3 has been released
2024-03-27: Fluentd v1.16.5 has been released
2024-03-14: Fluentd v1.16.4 has been released
2023-12-04: Open Source Summit Japan 2023
2023-11-29: fluent-package v5.0.2 has been released
2023-11-14: Fluentd v1.16.3 and v1.16.2 have been released
2023-08-29: Drop schedule announcement about EOL of Treasure Agent (td-agent) 4
2023-08-29: Scheduled support lifecycle announcement about Fluent Package
2023-07-31: Upgrade to fluent-package v5
2023-05-08: td-agent v4.5.0 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-2024 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.