Hi users!
We have released Fluentd version 0.12.29. Here are the changes:
from_encoding
parameter: #1067parser
filter to v0.12: #1203config_param
options to specify deprecated/obsoleted parameters: #1186ConfigError
for type missing, and its tests: #1202parser
filterparser
filter of fluent-plugin-parser
is for parsing one field of event record and updates event record itself with parsed result. This is useful for some use cases, e.g. docker logging driver, lazy log parsing at aggregator and etc.
Now, these use cases are popular and many users install fluent-plugin-parser
on their environment. So we decided to port parser
filter into core plugins to reduce extra setup cost.
Here is a configuration example for Docker loggin driver:
<filter docker.**>
@type parser
key_name log
format json
reserve_data true
</filter>
config_param
options to specify deprecated/obsoleted parametersThis is for plugin developers. Sometimes we want to deprecate plugin parameters, e.g. replace internal implementation with new library, add more useful parameter, etc. For such cases, we introduced new 2 options to config_param
.
deprecated
: fluentd shows warn
message for deprecated
parameter. A plugin should work with deprecated
.obsoleted
: fluentd raises ConfigError
for obsoleted
parameter.These options accept string
value as a message. Here is code example:
config_param :param1, :integer, default: 10, deprecated: "User new_param1 instead"
config_param :param2, :string, default: nil, obsoleted: "Use new_param2 instead"
Here is log example:
2016-09-07 15:50:16 +0900 [warn]: 'param1' parameter is deprecated: Use new_param1 instead
2016-09-07 15:50:16 +0900 [error]: config error file="test.conf" error="'param2' parameter is already removed: Use new_param2 instead"
If you want to remove existing parameter, use following step:
deprecated
to parameter and release new versionobosoleted
to parameter and release new version
Lastly, v0.12.29 docker image has also been available on Docker Hub.
Happy 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.
2024-08-29: Scheduled support lifecycle announcement about Fluent Package v6
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
2025-02-14: fluent-package v5.0.6 has been released
2025-01-29: Fluentd v1.16.7 has been released
2024-12-14: fluent-package v5.2.0 has been released
2024-11-29: Fluentd v1.18.0 has been released
2024-11-08: fluent-package v5.0.5 has been released
2024-08-29: Scheduled support lifecycle announcement about Fluent Package v6
2024-08-20: Fluentd v1.16.6 has been released
2024-08-19: Fluentd v1.17.1 has been released
2024-08-02: fluent-package v5.1.0 has been released
2024-07-02: fluent-package v5.0.4 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-2025 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.