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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The YAML configuration file doesn't support the following sections:
26
26
YAML configuration is used in the smoke tests for containers. An always-correct up-to-date example is here: <https://github.com/fluent/fluent-bit/blob/master/packaging/testing/smoke/container/fluent-bit.yaml>.
27
27
{% endhint %}
28
28
29
-
## Env
29
+
## `env`
30
30
31
31
The `env` section allows the definition of configuration variables that will be used later in the configuration file.
32
32
@@ -79,7 +79,7 @@ The `service` section defines the global properties of the service. The Service
79
79
| `coro_stack_size` | Set the coroutines stack size in bytes. The value must be greater than the page size of the running system. Don't set too small a value (for example, `4096`), or coroutine threads can overrun the stack buffer. Don't change the default value of this parameter unless you know what you are doing. | `24576` |
80
80
| `scheduler.cap` | Set a maximum retry time in seconds. Supported from v1.8.7. | `2000` |
81
81
| `scheduler.base` | Sets the base of exponential backoff. Supported from v1.8.7. | `5` |
82
-
| `json.convert_nan_to_null` | If enabled, NaN is converted to null when fluent-bit converts msgpack to JSON. | `false` |
82
+
| `json.convert_nan_to_null` | If enabled, NaN is converted to null when Fluent Bit converts `msgpack` to JSON. | `false` |
83
83
| `sp.convert_from_str_to_num` | If enabled, Stream processor converts from number string to number type. | `true |
84
84
85
85
The following is an example of a `service` section:
@@ -122,7 +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 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`:
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 basic 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`:
126
126
127
127
```yaml
128
128
pipeline:
@@ -214,7 +214,7 @@ pipeline:
214
214
match: 'my*cpu'
215
215
```
216
216
217
-
#### Example: collecting CPU metrics
217
+
#### Collecting `cpu` metrics example
218
218
219
219
The following configuration file example demonstrates how to collect CPU metrics and flush the results every five seconds to the standard output:
220
220
@@ -235,7 +235,7 @@ pipeline:
235
235
236
236
## Processors
237
237
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.
238
+
FluentBit 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
239
240
240
This capability is only exposed in YAML configuration and not in classic configuration mode due to the restriction of nested levels of configuration.
0 commit comments