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
Copy file name to clipboardExpand all lines: README.md
+49
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,55 @@ When creating a Fluent Bit Input plugin, the _input_ package can be used as foll
32
32
import"github.com/fluent/fluent-bit-go/input"
33
33
```
34
34
35
+
#### Config key constraint
36
+
37
+
Some config keys are used/overwritten by Fluent Bit and can't be used by a custom plugin, they are:
38
+
39
+
| Property | Input | Output |
40
+
|------------------------------|-------|--------|
41
+
|`alias`| X | X |
42
+
|`host`| X | X |
43
+
|`ipv6`| X | X |
44
+
|`listen`| X ||
45
+
|`log_level`| X | X |
46
+
|`log_suppress_interval`| X ||
47
+
|`match`| X ||
48
+
|`match_regex`| X ||
49
+
|`mem_buf_limit`| X | X |
50
+
|`port`| X | X |
51
+
|`retry_limit`| X ||
52
+
|`routable`| X | X |
53
+
|`storage.pause_on_chunks_overlimit`| X | X |
54
+
|`storage.total_limit_size`| X ||
55
+
|`storage.type`| X | X |
56
+
|`tag`| X | X |
57
+
|`threaded`| X | X |
58
+
|`tls`| X | X |
59
+
|`tls.ca_file`| X | X |
60
+
|`tls.ca_path`| X | X |
61
+
|`tls.crt_file`| X | X |
62
+
|`tls.debug`| X | X |
63
+
|`tls.key_file`| X | X |
64
+
|`tls.key_passwd`| X | X |
65
+
|`tls.verify`| X | X |
66
+
|`tls.vhost`| X | X |
67
+
|`workers`| X ||
68
+
69
+
This implies that if your plugin depends on property like `listen` you can use on output plugin but not on input plugin, `host` don't work on both, rather than this custom key like `address` work on both.
70
+
71
+
```ini
72
+
[OUTPUT]
73
+
Name my_output_plugin
74
+
Listen something # work
75
+
Host # don't work
76
+
Address # work
77
+
[INPUT]
78
+
Name my_input_plugin
79
+
Listen something #don't work
80
+
Host localhost # don't work
81
+
Address # work
82
+
```
83
+
35
84
## Contact
36
85
37
86
Feel free to join us on our Slack channel, Mailing List, IRC or Twitter:
0 commit comments