Config: Common Parameters
Some common parameters are available for all or some of the Fluentd plugins. This page describes these parameters.
Parameters for all the Plugins
@type
@type
The @type
parameter specifies the type of the plugin.
@id
@id
The @id
parameter specifies a unique name for the configuration. It is used as paths for buffer, storage, logging and for other purposes.
This parameter should be specified for all the plugins to enable root_dir
feature globally.
See also: System Configuration
@log_level
@log_level
This parameter specifies the plugin-specific logging level. The default log level is info
. Global log level can be specified by setting log_level
in <system>
section or with -v/-q
command line arguments. The @log_level
parameter overrides the logging level only for the specified plugin instance.
The main purposes of this parameter are:
to suppress too many logs for that plugin; and,
to show the debug logs to help in the debugging process.
Please see the logging article for further details.
Plugin Parameters that Emit Events
@label
The @label
parameter is to route the input events to <label>
sections, the set of the <filter>
and <match>
subsections under <label>
.
NOTE: The values for the @label
parameter MUST start with @
character.
Specifying @label
is strongly recommended to route events to any plugin without modifying the tags. It helps make the complex configuration modular and simple.
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 updated