You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated collectd input plugin docs with missing information. Fix#2196. (#2197)
* Updated to include new input plugin doc for Windows System Statistics. Applies to #2139.
Signed-off-by: Eric D. Schabell <[email protected]>
* Updated to include new input plugin doc for Windows System Statistics. Applies to #2139.
Signed-off-by: Eric D. Schabell <[email protected]>
* Lint fix for winstat input plugin doc fix.
Signed-off-by: Eric D. Schabell <[email protected]>
* Updated collectd input plugin docs with missing information. Fix#2196.
Signed-off-by: Eric D. Schabell <[email protected]>
---------
Signed-off-by: Eric D. Schabell <[email protected]>
Copy file name to clipboardExpand all lines: pipeline/inputs/collectd.md
+41-9Lines changed: 41 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,41 @@
1
1
# Collectd
2
2
3
-
The _Collectd_ input plugin lets you receive datagrams from the `collectd` service.
3
+
The _Collectd_ input plugin lets you receive datagrams from the `collectd` service over `UDP`. The plugin listens for collectd network protocol packets and converts them into Fluent Bit records.
4
4
5
5
## Configuration parameters
6
6
7
7
The plugin supports the following configuration parameters:
|`Listen`| Set the address to listen to. |`0.0.0.0`|
12
-
|`Port`| Set the port to listen to. |`25826`|
13
-
|`TypesDB`| Set the data specification file. |`/usr/share/collectd/types.db`|
14
-
|`Threaded`| Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). |`false`|
11
+
|`listen`| Set the address to listen to. |`0.0.0.0`|
12
+
|`port`| Set the port to listen to. |`25826`|
13
+
|`typesdb`| Set the data specification file. You can specify multiple files separated by commas. Later entries take precedence over earlier ones.|`/usr/share/collectd/types.db`|
14
+
|`threaded`| Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). |`false`|
15
15
16
-
## Configuration examples
16
+
## Get started
17
17
18
-
Here is a basic configuration example:
18
+
To receive collectd datagrams, you can run the plugin from the command line or through the configuration file.
19
+
20
+
### Command line
21
+
22
+
From the command line you can let Fluent Bit listen for `collectd` datagrams with the following options:
23
+
24
+
```shell
25
+
fluent-bit -i collectd -o stdout
26
+
```
27
+
28
+
By default, the service listens on all interfaces (`0.0.0.0`) using `UDP` port `25826`. You can change this directly:
With this configuration, Fluent Bit listens to `0.0.0.0:25826`, and outputs incoming datagram packets to `stdout`.
55
75
56
-
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.
76
+
## TypesDB configuration
77
+
78
+
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.
79
+
80
+
The `TypesDB` parameter supports multiple files separated by commas. When multiple files are specified, later entries take precedence over earlier ones if there are duplicate type definitions. This allows you to override default types with custom definitions.
In this configuration, custom type definitions in `/etc/collectd/custom.db` will override any matching definitions from `/usr/share/collectd/types.db`.
0 commit comments