Fluentd
Search…
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>.
1
<match tag.*>
2
@type forward
3
# ...
4
<service_discovery>
5
# ...
6
</service_discovery>
7
</match>
Copied!

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.
1
<service_discovery>
2
@type file
3
# ...
4
</service_discovery>
Copied!
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.
1
<service_discovery>
2
@type static
3
# ...
4
</service_discovery>
Copied!
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 4mo ago