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: administration/configuring-fluent-bit/yaml/configuration-file.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,11 +122,7 @@ pipeline:
122
122
port: 8080
123
123
```
124
124
125
-
This pipeline consists of two `inputs`: a tail plugin and an HTTP server plugin. Each
126
-
plugin has its own map in the array of `inputs` consisting of simple properties. To
127
-
use more advanced properties that consist of multiple values the property itself can
128
-
be defined using an array, such as the `record` and `allowlist_key` properties for the
129
-
`record_modifier` `filter`:
125
+
This pipeline consists of two `inputs`: a tail plugin and an HTTP server plugin. Each plugin has its own map in the array of `inputs` consisting of simple properties. To use more advanced properties that consist of multiple values the property itself can be defined using an array, such as the `record` and `allowlist_key` properties for the `record_modifier` `filter`:
130
126
131
127
```yaml
132
128
pipeline:
@@ -158,9 +154,7 @@ An `input` section defines a source (related to an input plugin). Each section h
158
154
| `Tag` | Tag name associated to all records coming from this plugin. |
159
155
| `Log_Level` | Set the plugin's logging verbosity level. Allowed values are: `off`, `error`, `warn`, `info`, `debug`, and `trace`. Defaults to the `SERVICE` section's `Log_Level`. |
160
156
161
-
The `Name` is mandatory and defines for Fluent Bit which input plugin should be
162
-
loaded. `Tag` is mandatory for all plugins except for the `input forward` plugin
163
-
which provides dynamic tags.
157
+
The `Name` is mandatory and defines for Fluent Bit which input plugin should be loaded. `Tag` is mandatory for all plugins except for the `input forward` plugin which provides dynamic tags.
164
158
165
159
#### Example input
166
160
@@ -242,16 +236,14 @@ pipeline:
242
236
## Processors
243
237
244
238
Fluent-Bit 2.1.2 and greater implements an interface called "processor" to extend the processing capabilities in input and output plugins directly without routing the data. The input and output plugins can run in separate threads. This interface allows users to apply data transformations and filtering to incoming data records before they're processed further in the pipeline.
239
+
245
240
This capability is only exposed in YAML configuration and not in classic configuration mode due to the restriction of nested levels of configuration.
The following configuration file example demonstrates the use of processors to change
252
-
the log record in the input plugin section by adding a new key `hostname` with the
253
-
value `monox`. It uses Lua to append the tag to the log record. The output
254
-
plugin section adds a new key named `output` with the value `new data`.
246
+
The following configuration file example demonstrates the use of processors to change the log record in the input plugin section by adding a new key `hostname` with the value `monox`. It uses Lua to append the tag to the log record. The output plugin section adds a new key named `output` with the value `new data`.
0 commit comments