> For the complete documentation index, see [llms.txt](https://docs.fluentd.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fluentd.org/configuration/service_discovery-section.md).

# 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](/service_discovery.md) e.g. `file`.

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

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

* [`static`](/service_discovery/static.md)
* [`file`](/service_discovery/file.md)
* [`srv`](/service_discovery/srv.md)

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](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation (CNCF)](https://cncf.io/). All components are available under the Apache 2 License.
