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
Fluent Bit uses configuration files to store information about your specified [inputs](../data-pipeline/inputs.md), [outputs](../data-pipeline/outputs.md), [filters](../data-pipeline/filters.md), and more. You can write these configuration files in one of these formats:
4
4
5
-
-[YAML](./configuring-fluent-bit/yaml.md): Standard configuration format as of v3.2.
6
-
-[Classic mode](./configuring-fluent-bit/classic-mode.md): To be deprecated at the end of 2026.
5
+
-[YAML configuration files](./configuring-fluent-bit/yaml.md) are the standard configuration format as of Fluent Bit v3.2. They use the `.yaml` file extension.
6
+
-[Classic configuration files](./configuring-fluent-bit/classic-mode.md) will be deprecated at the end of 2026. They use the `.conf` file extension.
7
+
8
+
## Unit sizes
9
+
10
+
Some configuration settings in Fluent Bit use standardized unit sizes to define data and storage limits. For example, the `buffer_chunk_size` and `buffer_max_size` parameters for the [Tail](../data-pipeline/inputs/tail.md) input plugin use unit sizes.
11
+
12
+
The following table describes the unit sizes you can use and what they mean.
13
+
14
+
| Suffix | Description | Example |
15
+
| :--- | :--- | :--- |
16
+
|_none_|**Bytes**: If you specify an integer without a unit size, Fluent Bit interprets that value as a bytes representation. |`32000` means 32,000 bytes. |
17
+
|`k`, `kb`, `K`, `KB`|**Kilobytes**: A unit of memory equal to 1,000 bytes. |`32k` means 32,000 bytes. |
18
+
|`m`, `mb`, `M`, `MB`|**Megabytes**: A unit of memory equal to 1,000,000 bytes. |`32m` means 32,000,000 bytes. |
19
+
|`g`, `gb`, `G`, `GB`|**Gigabytes**: A unit of memory equal to 1,000,000,000 bytes. |`32g` means 32,000,000,000 bytes. |
7
20
8
21
## Command line interface
9
22
10
-
Fluent Bit exposes most of it features through the command line interface. Running the `-h`option you can get a list of the options available:
23
+
Fluent Bit exposes most of its configuration features through the command line interface. Use the `-h`or `--help` flag to see a list of available options.
11
24
12
25
```shell
13
26
# Podman container tooling.
@@ -16,167 +29,3 @@ podman run -rm -ti fluent/fluent-bit --help
16
29
# Docker container tooling.
17
30
docker run --rm -it fluent/fluent-bit --help
18
31
```
19
-
20
-
Which returns the following help text:
21
-
22
-
```text
23
-
Usage: /fluent-bit/bin/fluent-bit [OPTION]
24
-
25
-
Available Options
26
-
-b --storage_path=PATH specify a storage buffering path
27
-
-c --config=FILE specify an optional configuration file
28
-
-d, --daemon run Fluent Bit in background mode
29
-
--supervisor run under a supervising parent process, uses "fork()" to execute child processes
30
-
-D, --dry-run dry run
31
-
-f, --flush=SECONDS flush timeout in seconds (default: 1)
32
-
-C, --custom=CUSTOM enable a custom plugin
33
-
-i, --input=INPUT set an input
34
-
-F --filter=FILTER set a filter
35
-
-m, --match=MATCH set plugin match, same as '-p match=abc'
36
-
-o, --output=OUTPUT set an output
37
-
-p, --prop="A=B" set plugin configuration property
38
-
-R, --parser=FILE specify a parser configuration file
39
-
-e, --plugin=FILE load an external plugin (shared lib)
40
-
-l, --log_file=FILE write log info to a file
41
-
-t, --tag=TAG set plugin tag, same as '-p tag=abc'
Copy file name to clipboardExpand all lines: pipeline/filters/kubernetes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The plugin supports the following configuration parameters:
25
25
26
26
| Key | Description | Default |
27
27
| :--- | :--- | :--- |
28
-
|`Buffer_Size`| Set the buffer size for HTTP client when reading responses from Kubernetes API server. The value must conform to the [unit size](../../administration/configuring-fluent-bit/unit-sizes.md) specification. A value of `0` results in no limit, and the buffer will expand as-needed. If pod specifications exceed the buffer limit, the API response is discarded when retrieving metadata, and some Kubernetes metadata will fail to be injected to the logs. |`32k`|
28
+
|`Buffer_Size`| Set the buffer size for HTTP client when reading responses from Kubernetes API server. The value must conform to the [unit size](../../administration/configuring-fluent-bit.md#unit-sizes) specification. A value of `0` results in no limit, and the buffer will expand as-needed. If pod specifications exceed the buffer limit, the API response is discarded when retrieving metadata, and some Kubernetes metadata will fail to be injected to the logs. |`32k`|
29
29
|`Kube_URL`| API Server endpoint |`https://kubernetes.default.svc:443`|
30
30
|`Kube_CA_File`| CA certificate file |`/var/run/secrets/kubernetes.io/serviceaccount/ca.crt`|
31
31
|`Kube_CA_Path`| Absolute path to scan for certificate files |_none_|
Copy file name to clipboardExpand all lines: pipeline/filters/wasm.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ The plugin supports the following configuration parameters:
22
22
|`Event_Format`| Define event format to interact with Wasm programs: `msgpack` or `json`. Default: `json`. |
23
23
|`Function_Name`| Wasm function name that will be triggered to do filtering. It's assumed that the function is built inside the Wasm program specified previously. |
24
24
|`Accessible_Paths`| Specify the allowlist of paths to be able to access paths from Wasm programs. |
25
-
|`Wasm_Heap_Size`| Size of the heap size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
26
-
|`Wasm_Stack_Size`| Size of the stack size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
25
+
|`Wasm_Heap_Size`| Size of the heap size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit.md#unit-sizes) for allowed values. |
26
+
|`Wasm_Stack_Size`| Size of the stack size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit.md#unit-sizes) for allowed values. |
27
27
28
28
## Configuration example
29
29
@@ -46,7 +46,7 @@ pipeline:
46
46
function_name: filter_function_name
47
47
# Note: run Fluent Bit from the 'wasm_path' location.
0 commit comments