Config: Service Discovery Section

Some of the Fluentd plugins support the <service_discovery> section to set the target nodes dynamically.

Service Discovery Section Overview

The service_discovery section comes under <match>.

<match tag.*>
@type forward
# ...
<service_discovery>
# ...
</service_discovery>
</match>

Service Discovery Plugin Type

The @type parameter of <service_discovery> section specifies the type of the plugin. Fluentd core bundles some useful service discovery plugins e.g. file.

<service_discovery>
@type file
# ...
</service_discovery>

Here's the list of built-in service discovery plugins:

For more details, see plugins documentation.

@type

The @type parameter specifies the type of service discovery plugin.

<service_discovery>
@type static
# ...
</service_discovery>

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.