Hi users!
We have released v1.11.2. ChangeLog is here.
Regular expression, /pattern/
, is now allowed in tag matching:
<source>
@type forward
</source>
# For a.xxx tag
<filter a.**>
@type record_transformer
<record>
new_key a-started tag record
</record>
</filter>
# For non a.xxx tag like b.xxx/c.xxx/...
<filter /(?!a\.).*/>
@type record_transformer
<record>
new_key other tag record
</record>
</filter>
<match **>
@type stdout
</match>
If you send following events:
% echo '{"msg":"hi"}' | fluent-cat a.foo
% echo '{"msg":"hi"}' | fluent-cat b.foo
the log shows:
2020-08-06 13:40:03.111196000 +0900 a.foo: {"msg":"hi","new_key":"a-started tag record"}
2020-08-06 13:40:09.492380000 +0900 b.foo: {"msg":"hi","new_key":"other tag record"}
Of course, simple data pipeline is important for robust log collection. If you need this feature, check your configuration/data flow first.
in_dummy
is renamed in_sample
We recommend to use sample
instead of dummy
:
<source>
@type sample
sample {"hello":"world"}
</source>
# If you use fluentd v1.11.1 or earlier, use following configuration
# Fluentd v2 will remove old configuration support
<source>
@type dummy
dummy {"hello":"world"}
</source>
chunk_limit_records
caseEnjoy 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
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
2024-04-30: Fluentd v1.17.0 has been released
2024-03-29: fluent-package v5.0.3 has been released
2024-03-27: Fluentd v1.16.5 has been released
2024-03-14: Fluentd v1.16.4 has been released
2023-12-04: Open Source Summit Japan 2023
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-2024 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.