Skip to content

Adding YAML examples to input plugin collectd doc page. Fixes #1778. #1779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions pipeline/inputs/collectd.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,26 @@ The plugin supports the following configuration parameters:

Here is a basic configuration example:

```python
{% tabs %}
{% tab title="fluent-bit.yaml" %}

```yaml
pipeline:
inputs:
- name: collectd
listen: 0.0.0.0
port: 25826
typesdb: '/user/share/collectd/types.db,/etc/collectd/custom.db'

outputs:
- name: stdout
match: '*'
```

{% endtab %}
{% tab title="fluent-bit.conf" %}

```text
[INPUT]
Name collectd
Listen 0.0.0.0
Expand All @@ -29,6 +48,9 @@ Here is a basic configuration example:
Match *
```

{% endtab %}
{% endtabs %}

With this configuration, Fluent Bit listens to `0.0.0.0:25826`, and outputs incoming datagram packets to `stdout`.

You must set the same `types.db` files that your `collectd` server uses. Otherwise, Fluent Bit might not be able to interpret the payload properly.
You must set the same `types.db` files that your `collectd` server uses. Otherwise, Fluent Bit might not be able to interpret the payload properly.