Skip to content

Commit 5610226

Browse files
authored
Merge pull request #1928 from fluent/lynettemiles/sc-136233/update-fluent-bit-docs-pipeline-outputs-counter
2 parents c330300 + 7b58b56 commit 5610226

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pipeline/outputs/counter.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# Counter
22

3-
_Counter_ is a very simple plugin that counts how many records it's getting upon flush time. Plugin output is as follows:
3+
_Counter_ is a plugin that counts how many records it's getting upon flush time. Plugin output is as follows:
44

55
```text
66
[TIMESTAMP, NUMBER_OF_RECORDS_NOW] (total = RECORDS_SINCE_IT_STARTED)
77
```
88

9-
## Getting Started
9+
## Get started
1010

11-
You can run the plugin from the command line or through the configuration file:
11+
You can run the plugin from the command line or through the configuration file.
1212

13-
### Command Line
13+
### Command line
1414

15-
From the command line you can let Fluent Bit count up a data with the following options:
15+
From the command line you can let Fluent Bit count data with the following options:
1616

1717
```shell
1818
fluent-bit -i cpu -o counter
1919
```
2020

21-
### Configuration File
21+
### Configuration file
2222

2323
In your main configuration file append the following:
2424

@@ -30,7 +30,7 @@ pipeline:
3030
inputs:
3131
- name: cpu
3232
tag: cpu
33-
33+
3434
outputs:
3535
- name: counter
3636
match: '*'
@@ -54,13 +54,13 @@ pipeline:
5454

5555
## Testing
5656

57-
Once Fluent Bit is running, you will see the reports in the output interface similar to this:
57+
When Fluent Bit is running, you will see the reports similar to this in the output interface:
5858

59-
```shell
59+
```text
6060
...
6161
1500484743,1 (total = 1)
6262
1500484744,1 (total = 2)
6363
1500484745,1 (total = 3)
6464
1500484746,1 (total = 4)
6565
1500484747,1 (total = 5)
66-
```
66+
```

0 commit comments

Comments
 (0)