Fluentd
Search…
Service Discovery Plugins
Fluentd has nine (9) types of plugins:
This article gives an overview of the Service Discovery Plugin.

Overview

Some plugins support <service_discovery> (e.g. out_forward). Sometimes, the service discovery for an output plugin does not meet one's needs. Fluentd has a pluggable system called Service Discovery that lets the user extend and reuse custom output service discovery.

How To Use

Here is a simple example to update target by reading file (/etc/fluentd/sd.yaml) with out_forward and service_discovery:
1
<source>
2
@type forward
3
4
<service_discovery>
5
@type file
6
path "/etc/fluentd/sd.yaml"
7
</service_discovery>
8
</source>
Copied!

List of Built-in Service Discovery

List of Core Output Plugins with Service Discovery support

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 3mo ago