Hi users!
We have just released Fluentd version 0.10.58. Here are the changes:
msgpack
format to built-in Formatter to dump records: #479Config.bool_value
regression for nil
value: #477in_dummy
plugin: #484respond_with_empty_img
parameter to return empty gif image: #480cors_allow_origins
parameter to support CORS request: #473router.emit
and router=
for compatibility with v0.12: #510router.emit
instead of Engine.emit
: #511This release is mainly for improving compatibility with v0.12.
In v0.10.57 or earlier, we use following APIs to implement Parser class.
# Parser implementation
module Fluent
class TextParser
# Not inherit base class
class FooParser
include Configurable
# Overwrite initialize, configure and parse method
# register this parser
TextParser.register_template('foo', Proc.new { FooParser.new })
end
end
end
# Instantiate parser
parser = TextParser.new
parser.configure(conf)
New APIs are below:
# Parser implementation
module Fluent
class TextParser
# inherit Parser base class
class FooParser < Parser
# register this plugin without Proc.new trick
Plugin.register_parser('foo', self)
# Overwrite initialize, configure and parse method
end
end
end
# Instantiate parser
parser = Plugin.new_parser('foo')
parser.configure(conf)
Formatter also has same APIs. New API is consistent with Input / Output plugins. We still have old API but we recommend to use new API for new parser / formatter plugins.
In v0.12, Input / Output plugins have router
attribute for Label and
Engine.emit
is deprecated(Engine.emit
forwards events to root_agent.emit
).
v0.10.58 adds router
attribute to Input / Output plugins for API compatibility with v0.12.
Changing Engine.emit
to router.emit
has no effect on v0.10 but
such plugin works on both v0.10 and v0.12 properly.
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.