Fluentd
Search…
relabel
The relabel output plugin re-labels events.
It is included in Fluentd's core.

Example Configuration

1
<match pattern>
2
@type relabel
3
@label @foo
4
</match>
5
6
<label @foo>
7
<match pattern>
8
# ...
9
</match>
10
</label>
Copied!
In the above example, the relabel output plugin uses a label @foo to route the matched events, and then the respective label directive takes care of these events.
NOTE: All the input and output plugins support the @label parameter provided by the Fluentd core. The relabel plugin is a plugin that does nothing other than supporting the @label parameter.

Supported Modes

Plugin Helpers

Parameters

@type

The value must be relabel.

@label

type
default
version
string
nil
0.14.0
Specifies the label. It is a required parameter.
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.
Last modified 6mo ago