Hi users!
We have released v1.2.1. ChangeLog is here. This release is mainly for bug fixes.
wait to ClientThis is handy API for error check. Using get, you need to check error response from the response body.
wait raises an exception when API call has a problem.
require 'fluent/plugin/filter'
module Fluent
module Plugin
class CounterFilter < Filter
Plugin.register_filter('counter', self)
helpers :counter
def start
super
@client = counter_client_create(scope: 'test')
@client.establish('counter')
# if init call returns an error, exception is raised
begin
@client.init(:name => 'num', type: 'numeric', reset_interval: 10).wait
rescue Fluent::Counter::BaseError
# process client specific error
end
end
# ...
end
end
end
gzip and append trueThanks for submitting bug reports and patches :)
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.
2025-09-04: Upgrade Guide for fluent-package v6
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-10-08: fluent-package v5.0.8 has been released
2025-09-12: Fluentd v1.16.10 has been released
2025-09-04: Upgrade Guide for fluent-package v6
2025-08-29: fluent-package v6.0.0 has been released
2025-08-06: Fluentd v1.19.0 has been released
2025-05-16: fluent-package v5.0.7 has been released
2025-05-14: Fluentd v1.16.9 has been released
2025-05-01: Fluentd v1.16.8 has been released
2025-03-14: Drop Alpine and switch default to Debian for Fluentd docker image
2025-02-14: fluent-package v5.0.6 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.