Skip to content

Commit abf987b

Browse files
Apply suggestions from code review
Co-authored-by: Alexa Kreizinger <[email protected]> Signed-off-by: Lynette Miles <[email protected]>
1 parent 859495c commit abf987b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

administration/configuring-fluent-bit/yaml/configuration-file.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,7 @@ pipeline:
122122
port: 8080
123123
```
124124

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`:
130126

131127
```yaml
132128
pipeline:
@@ -158,9 +154,7 @@ An `input` section defines a source (related to an input plugin). Each section h
158154
| `Tag` | Tag name associated to all records coming from this plugin. |
159155
| `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`. |
160156

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.
164158

165159
#### Example input
166160

@@ -242,16 +236,14 @@ pipeline:
242236
## Processors
243237

244238
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+
245240
This capability is only exposed in YAML configuration and not in classic configuration mode due to the restriction of nested levels of configuration.
246241

247242
[Processor example](configuration-file.md#example-using-processors)
248243

249244
### Example: Using processors
250245

251-
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`.
255247

256248
```yaml
257249
service:

0 commit comments

Comments
 (0)