Skip to content

Commit 52b4a03

Browse files
committed
Adjusted counter code examples to use 2 space indents. Part of issue #1899.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent e1f4861 commit 52b4a03

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

pipeline/outputs/counter.md

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ In your main configuration file append the following:
2727

2828
```yaml
2929
pipeline:
30-
inputs:
31-
- name: cpu
32-
tag: cpu
33-
34-
outputs:
35-
- name: counter
36-
match: '*'
30+
inputs:
31+
- name: cpu
32+
tag: cpu
33+
34+
outputs:
35+
- name: counter
36+
match: '*'
3737
```
3838
3939
{% endtab %}
4040
{% tab title="fluent-bit.conf" %}
4141
4242
```text
4343
[INPUT]
44-
Name cpu
45-
Tag cpu
44+
Name cpu
45+
Tag cpu
4646

4747
[OUTPUT]
48-
Name counter
49-
Match *
48+
Name counter
49+
Match *
5050
```
5151

5252
{% endtab %}
@@ -57,28 +57,7 @@ pipeline:
5757
Once Fluent Bit is running, you will see the reports in the output interface similar to this:
5858

5959
```shell
60-
$ bin/fluent-bit -i cpu -o counter -f 1
61-
62-
Fluent Bit v4.0.3
63-
* Copyright (C) 2015-2025 The Fluent Bit Authors
64-
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
65-
* https://fluentbit.io
66-
67-
______ _ _ ______ _ _ ___ _____
68-
| ___| | | | | ___ (_) | / || _ |
69-
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __/ /| || |/' |
70-
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| || /| |
71-
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /\___ |\ |_/ /
72-
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ |_(_)___/
73-
74-
75-
[2025/07/11 16:49:57] [ info] [fluent bit] version=4.0.3, commit=37b6e9eda2, pid=52469
76-
[2025/07/11 16:49:57] [ info] [storage] ver=1.5.3, type=memory, sync=normal, checksum=off, max_chunks_up=128
77-
[2025/07/11 16:49:57] [ info] [simd ] disabled
78-
[2025/07/11 16:49:57] [ info] [cmetrics] version=1.0.3
79-
[2025/07/11 16:49:57] [ info] [ctraces ] version=0.6.6
80-
[2025/07/11 16:49:57] [ info] [sp] stream processor started
81-
[2025/07/11 16:49:57] [ info] [engine] Shutdown Grace Period=5, Shutdown Input Grace Period=2
60+
...
8261
1500484743,1 (total = 1)
8362
1500484744,1 (total = 2)
8463
1500484745,1 (total = 3)

0 commit comments

Comments
 (0)