Skip to content

Commit 6c0233d

Browse files
committed
Adding YAML examples for standard output filter doc. Part of issue #1872.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 5095879 commit 6c0233d

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

pipeline/filters/standard-output.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,34 @@ The plugin has no configuration parameters.
99
Use the following command from the command line:
1010

1111
```shell
12-
fluent-bit -i cpu -F stdout -m '*' -o null
12+
$ ./fluent-bit -i cpu -F stdout -m '*' -o null
1313
```
1414

1515
Fluent Bit specifies gathering [CPU](../inputs/cpu-metrics.md) usage metrics and prints them out in a human-readable way when they flow through the stdout plugin.
1616

1717
```text
18-
Fluent Bit v1.x.x
19-
* Copyright (C) 2019-2021 The Fluent Bit Authors
20-
* Copyright (C) 2015-2018 Treasure Data
18+
Fluent Bit v4.0.3
19+
* Copyright (C) 2015-2025 The Fluent Bit Authors
2120
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
2221
* https://fluentbit.io
2322
24-
[2021/06/04 14:53:59] [ info] [engine] started (pid=3236719)
25-
[2021/06/04 14:53:59] [ info] [storage] version=1.1.1, initializing...
26-
[2021/06/04 14:53:59] [ info] [storage] in-memory
27-
[2021/06/04 14:53:59] [ info] [storage] normal synchronization mode, checksum disabled, max_chunks_up=128
28-
[2021/06/04 14:53:59] [ info] [sp] stream processor started
23+
______ _ _ ______ _ _ ___ _____
24+
| ___| | | | | ___ (_) | / || _ |
25+
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __/ /| || |/' |
26+
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| || /| |
27+
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /\___ |\ |_/ /
28+
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ |_(_)___/
29+
30+
31+
[2025/07/03 16:15:34] [ info] [fluent bit] version=4.0.3, commit=3a91b155d6, pid=23196
32+
[2025/07/03 16:15:34] [ info] [storage] ver=1.5.3, type=memory, sync=normal, checksum=off, max_chunks_up=128
33+
[2025/07/03 16:15:34] [ info] [simd ] disabled
34+
[2025/07/03 16:15:34] [ info] [cmetrics] version=1.0.3
35+
[2025/07/03 16:15:34] [ info] [ctraces ] version=0.6.6
36+
[2025/07/03 16:15:34] [ info] [input:dummy:dummy.0] initializing
37+
[2025/07/03 16:15:34] [ info] [input:dummy:dummy.0] storage_strategy='memory' (memory only)
38+
[2025/07/03 16:15:34] [ info] [output:stdout:stdout.0] worker #0 started
39+
[2025/07/03 16:15:34] [ info] [sp] stream processor started
2940
[0] cpu.0: [1622789640.379532062, {"cpu_p"=>9.000000, "user_p"=>6.500000, "system_p"=>2.500000, "cpu0.p_cpu"=>8.000000, "cpu0.p_user"=>6.000000, "cpu0.p_system"=>2.000000, "cpu1.p_cpu"=>9.000000, "cpu1.p_user"=>6.000000, "cpu1.p_system"=>3.000000}]
3041
[0] cpu.0: [1622789641.379529426, {"cpu_p"=>22.500000, "user_p"=>18.000000, "system_p"=>4.500000, "cpu0.p_cpu"=>34.000000, "cpu0.p_user"=>30.000000, "cpu0.p_system"=>4.000000, "cpu1.p_cpu"=>11.000000, "cpu1.p_user"=>6.000000, "cpu1.p_system"=>5.000000}]
3142
[0] cpu.0: [1622789642.379544020, {"cpu_p"=>26.500000, "user_p"=>16.000000, "system_p"=>10.500000, "cpu0.p_cpu"=>30.000000, "cpu0.p_user"=>24.000000, "cpu0.p_system"=>6.000000, "cpu1.p_cpu"=>22.000000, "cpu1.p_user"=>8.000000, "cpu1.p_system"=>14.000000}]
@@ -34,4 +45,4 @@ Fluent Bit v1.x.x
3445
[2021/06/04 14:54:04] [ info] [input] pausing cpu.0
3546
[2021/06/04 14:54:04] [ warn] [engine] service will stop in 5 seconds
3647
[2021/06/04 14:54:08] [ info] [engine] service stopped
37-
```
48+
```

0 commit comments

Comments
 (0)