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: pipeline/outputs/file.md
+18-19Lines changed: 18 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,13 @@ The _File_ output plugin lets you write the data received through the input plug
4
4
5
5
## Configuration parameters
6
6
7
-
The plugin supports the following configuration parameters:
8
-
9
7
| Key | Description | Default |
10
8
| :--- | :--- | :--- |
11
-
|`Path`|Directory path to store files. If not set, Fluent Bit will write the files on it's own positioned directory. Available in Fluent Bit 1.4.6 and later. |_none_|
12
-
|`File`|Set filename to store the records. If not set, the filename will be the `tag` associated with the records. |_none_|
13
-
|`Format`|The [format](#format) of the file content. |`out_file`|
14
-
|`Mkdir`|Recursively create output directory if it doesn't exist. Permissions set to `0755`. |_none_|
15
-
|`Workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`1`|
9
+
|`file`|Set filename to store the records. If not set, the filename will be the `tag` associated with the records. |_none_|
10
+
|`format`|The [format](#format) of the file content. |_none_|
11
+
|`mkdir`|Recursively create output directory if it doesn't exist. Permissions set to `0755`. |`false`|
12
+
|`path`|Directory path to store files. If not set, Fluent Bit will write the files in its own working directory. |_none_|
13
+
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`1`|
16
14
17
15
## Format
18
16
@@ -36,24 +34,25 @@ Output the records as JSON (without additional `tag` and `timestamp` attributes)
36
34
37
35
### CSV
38
36
39
-
Output the records in CSV format. CSV mode supports an additional configuration parameter.
37
+
Output the records in CSV format. CSV mode supports additional configuration parameters.
40
38
41
-
| Key | Description |
42
-
| :--- | :--- |
43
-
|`Delimiter`| The character to separate each data. Accepted values: `\t` (or `tab`), `` (`space`), or `,` (`comma`). Other values are ignored and will use default silently. Default: `,`|
39
+
| Key | Description | Default |
40
+
| :--- | :--- | :--- |
41
+
|`csv_column_names`| Add column names (keys) as the first line of the output file. |`false`|
42
+
|`delimiter`| The character to separate each field. Accepted values: `\t` (or `tab`), `` (`space`), or `,` (`comma`). Other values are ignored and fall back to the default. |`,`|
0 commit comments