Hi users!
We have released Fluentd version 0.12.9. Here are the changes:
We used copy
and stdout
output plugin combo to inspect logs. stdout
filter is useful for such case.
<match tag.**>
type copy
<store>
type stdout
</store>
<store>
type file
# ...
</store>
</match>
<filter tag.**>
type stdout
</filter>
<match tag.**>
type file
# ...
</match>
Latter is straightforward and easy to maintain.
Set rpc_endpoint
parameter in <system>
directive, fluentd launches RPC server. Here is a configuration example:
<system>
rpc_endpoint 127.0.0.1:24444
</system>
RPC server has several APIs to control fluentd instance. Built-in APIs are corresponding to existing signals:
/api/processes.interruptWorkers
: SIGINT. stop the daemon./api/processes.killWorkers
: SIGTERM, stop the daemon./api/plugins.flushBuffers
: SIGUSR1, flushes buffered messages./api/config.reload
: SIGHUP, reload configuration.Here is the documentation of signals.
RPC server's interface is HTTP/JSON so you can easy to call API via curl or any programming language.
$ curl http://127.0.0.1:24444/api/plugins.flushBuffers
{"ok":true}
We have a plan to add several APIs, e.g. shutdown input plugins.
RPC server is an important step for supporting Windows and JRuby environments :)
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.