Hi users!
We have released v1.1.0. ChangeLog is here. This release includes several new features.
Fluentd configuration supports embedded ruby code in "#{}"
string.
Many users use this feature to embed runtime value in plugin parameters.
This is conf example:
@id "out_foo#{ENV['SERVERENGINE_WORKER_ID']}}" # add worker id to plugin id under multi-process environment
tag "log.#{Socket.gethostname}" # Use hostname in tag parts
<record>
metadata "#{ENV['SERVER_ROLE']}-#{ENV['FOO']}"
</record>
We noticed setting hostname and worker_id is popular and current configuration is bit messy because
it depends on fluentd internal, e.g. SERVERENGINE_WORKER_ID
comes from serverengine used in Fluentd.
So we added hostname
and worker_id
short-cut to cover popular cases.
Here is new conf:
@id "out_foo#{worker_id}" # add worker id to plugin id under multi-process environment
tag "log.#{hostname}" # Use hostname in tag parts
If other popular case found, we will add new short-cut.
We have record_accessor helper for accessing nested field.
Since v1.1.0, this helper supports nested field deletion. This feature is useful in record_transformer
like plugins.
Syntax is same and you can delete nested field via accessor object in your plugin code.
deleter = record_accessor_create("$.key1.key2")
deleter.delete(record) # delete record["key1"]["key2"] field
record_transfomer
filter plugin supports this feature with remove_keys
parameter.
This is port from fluent-plugin-secure-forward. Use-case is same with Using private CA file and key. Change command name to fluent-ca-generate
.
You can change several values like CN/country/etc via command option. Check --help
for all options.
We changes buffer management in in_tcp
plugin and it breaks TLS socket handling.
We changed TLS socket structure and fixed the regression.
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.
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.