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/standard-output.md
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,27 @@
1
-
# Standard Output
1
+
# Standard output
2
2
3
-
The **stdout** output plugin allows to print to the standard output the data received through the _input_ plugin. Their usage is very simple as follows:
3
+
<!-- vale FluentBit.Repetition = NO -->
4
4
5
-
## Configuration Parameters
5
+
The _standard output_ output plugin prints ingested data to standard output.
| Format | Specify the data format to be printed. Supported formats are _msgpack_, _json_, _json\_lines_ and _json\_stream_. | msgpack |
10
-
| json\_date\_key | Specify the name of the time key in the output record. To disable the time key just set the value to `false`. | date |
11
-
| json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | double |
12
-
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`1`|
7
+
<!-- vale FluentBit.Repetition = YES -->
13
8
14
-
### Command Line
9
+
## Configuration parameters
10
+
11
+
| Key | Description | Default |
12
+
| --- | ----------- | ------- |
13
+
|`Format`| Specify the data format to be printed. Supported formats are `msgpack`, `json`, `json_lines` and `json_stream`. |`msgpack`|
14
+
|`json_date_key`| Specify the name of the time key in the output record. To disable the time key set the value to `false`. |`date`|
15
+
|`json_date_format`| Specify the format of the date. Supported formats are `double`, `epoch`, `iso8601` (for example, `2018-05-30T09:39:52.000681Z`) and `java_sql_timestamp` (for example, `2018-05-30 09:39:52.000681`) |`double`|
16
+
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`1`|
17
+
18
+
### Command line
15
19
16
20
```shell
17
21
fluent-bit -i cpu -o stdout -v
18
22
```
19
23
20
-
We have specified to gather [CPU](https://github.com/fluent/fluent-bit-docs/tree/ddc1cf3d996966b9db39f8784596c8b7132b4d5b/pipeline/input/cpu.md) usage metrics and print them out to the standard output in a human-readable way:
24
+
This example specifies to gather [CPU](https://github.com/fluent/fluent-bit-docs/tree/ddc1cf3d996966b9db39f8784596c8b7132b4d5b/pipeline/input/cpu.md) usage metrics and print them out to the standard output in a human-readable way:
21
25
22
26
```shell
23
27
$ fluent-bit -i cpu -o stdout -p format=msgpack -v
0 commit comments