1- # FlowCounter
1+ # Flow counter
22
3- _ FlowCounter _ is the protocol to count records. The ** flowcounter ** output plugin allows to count up records and its size.
3+ The _ Flow counter _ output plugin lets you count up records and their size.
44
5- ## Configuration Parameters
5+ ## Configuration parameters
66
77The plugin supports the following configuration parameters:
88
99| Key | Description | Default |
1010| :--- | :--- | :--- |
11- | Unit | The unit of duration. \( second/ minute/ hour/ day\) | minute |
12- | Workers | The number of [ workers] ( ../../administration/multithreading.md#outputs ) to perform flush operations for this output. | ` 0 ` |
11+ | ` Unit ` | The unit of duration. Allowed values: ` second ` , ` minute ` , ` hour ` , ` day ` | ` minute ` |
12+ | ` Workers ` | The number of [ workers] ( ../../administration/multithreading.md#outputs ) to perform flush operations for this output. | ` 0 ` |
1313
14- ## Getting Started
14+ ## Get started
1515
16- You can run the plugin from the command line or through the configuration file:
16+ You can run the plugin from the command line or through the configuration file.
1717
18- ### Command Line
18+ ### Command line
1919
20- From the command line you can let Fluent Bit count up a data with the following options:
20+ From the command line you can let Fluent Bit count up data with the following options:
2121
2222``` shell
2323fluent-bit -i cpu -o flowcounter
2424```
2525
26- ### Configuration File
26+ ### Configuration file
2727
2828In your main configuration file append the following:
2929
@@ -35,7 +35,7 @@ pipeline:
3535 inputs :
3636 - name : cpu
3737 tag : cpu
38-
38+
3939 outputs :
4040 - name : flowcounter
4141 match : ' *'
@@ -61,10 +61,10 @@ pipeline:
6161
6262## Testing
6363
64- Once Fluent Bit is running, you will see the reports in the output interface similar to this:
64+ When Fluent Bit is running, you will see the reports in the output interface similar to this:
6565
6666``` text
6767...
6868[out_flowcounter] cpu.0:[1482458540, {"counts":60, "bytes":7560, "counts/minute":1, "bytes/minute":126 }]
6969...
70- ```
70+ ```
0 commit comments