relabel output plugin re-labels events.
It is included in Fluentd's core.
<match pattern>@type relabel@label @foo</match><label @foo><match pattern># ...</match></label>
The above example puts a label
@foo to matched events, and the
label directive can take care of these events.
FYI: All of input and output plugins also have
@label parameter provided by Fluentd core. The
relabel plugin is a plugin which actually does nothing, but supports only
See also: Output Plugin Overview
The value must be
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.