@@ -25,20 +25,36 @@ To monitor network traffic from your system, you can run the plugin from the com
2525
2626Run Fluent Bit using a command similar to the following:
2727
28- ``` bash
29- bin/ fluent-bit -i netif -p interface=eth0 -o stdout
28+ ``` shell
29+ $ fluent-bit -i netif -p interface=eth0 -o stdout
3030```
3131
3232Which returns something the following:
3333
3434``` text
35- Fluent Bit v1.x.x
36- * Copyright (C) 2019-2020 The Fluent Bit Authors
37- * Copyright (C) 2015-2018 Treasure Data
35+ Fluent Bit v4.0.3
36+ * Copyright (C) 2015-2025 The Fluent Bit Authors
3837* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
3938* https://fluentbit.io
4039
41- [2017/07/08 23:34:18] [ info] [engine] started
40+ ______ _ _ ______ _ _ ___ _____
41+ | ___| | | | | ___ (_) | / || _ |
42+ | |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __/ /| || |/' |
43+ | _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| || /| |
44+ | | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /\___ |\ |_/ /
45+ \_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ |_(_)___/
46+
47+
48+ [2025/07/01 14:44:47] [ info] [fluent bit] version=4.0.3, commit=f5f5f3c17d, pid=1
49+ [2025/07/01 14:44:47] [ info] [storage] ver=1.5.3, type=memory, sync=normal, checksum=off, max_chunks_up=128
50+ [2025/07/01 14:44:47] [ info] [simd ] disabled
51+ [2025/07/01 14:44:47] [ info] [cmetrics] version=1.0.3
52+ [2025/07/01 14:44:47] [ info] [ctraces ] version=0.6.6
53+ [2025/07/01 14:44:47] [ info] [input:mem:mem.0] initializing
54+ [2025/07/01 14:44:47] [ info] [input:mem:mem.0] storage_strategy='memory' (memory only)
55+ [2025/07/01 14:44:47] [ info] [sp] stream processor started
56+ [2025/07/01 14:44:47] [ info] [engine] Shutdown Grace Period=5, Shutdown Input Grace Period=2
57+ [2025/07/01 14:44:47] [ info] [output:stdout:stdout.0] worker #0 started
4258[0] netif.0: [1499524459.001698260, {"eth0.rx.bytes"=>89769869, "eth0.rx.packets"=>73357, "eth0.rx.errors"=>0, "eth0.tx.bytes"=>4256474, "eth0.tx.packets"=>24293, "eth0.tx.errors"=>0}]
4359[1] netif.0: [1499524460.002541885, {"eth0.rx.bytes"=>98, "eth0.rx.packets"=>1, "eth0.rx.errors"=>0, "eth0.tx.bytes"=>98, "eth0.tx.packets"=>1, "eth0.tx.errors"=>0}]
4460[2] netif.0: [1499524461.001142161, {"eth0.rx.bytes"=>98, "eth0.rx.packets"=>1, "eth0.rx.errors"=>0, "eth0.tx.bytes"=>98, "eth0.tx.packets"=>1, "eth0.tx.errors"=>0}]
@@ -47,25 +63,9 @@ Fluent Bit v1.x.x
4763
4864### Configuration file
4965
50- In your main configuration file append the following ` Input ` and ` Output ` sections :
66+ In your main configuration file append the following:
5167
5268{% tabs %}
53- {% tab title="fluent-bit.conf" %}
54-
55- ``` python
56- [INPUT ]
57- Name netif
58- Tag netif
59- Interval_Sec 1
60- Interval_NSec 0
61- Interface eth0
62- [OUTPUT ]
63- Name stdout
64- Match *
65- ```
66-
67- {% endtab %}
68-
6969{% tab title="fluent-bit.yaml" %}
7070
7171``` yaml
@@ -76,14 +76,31 @@ pipeline:
7676 interval_sec : 1
7777 interval_nsec : 0
7878 interface : eth0
79+
7980 outputs :
8081 - name : stdout
8182 match : ' *'
8283` ` `
8384
85+ {% endtab %}
86+ {% tab title="fluent-bit.conf" %}
87+
88+ ` ` ` text
89+ [INPUT]
90+ Name netif
91+ Tag netif
92+ Interval_Sec 1
93+ Interval_NSec 0
94+ Interface eth0
95+
96+ [OUTPUT]
97+ Name stdout
98+ Match *
99+ ```
100+
84101{% endtab %}
85102{% endtabs %}
86103
87104Which calculates using the formula: ` Total interval (sec) = Interval_Sec + (Interval_Nsec / 1000000000) ` .
88105
89- For example : ` 1.5s = 1s + 500000000ns`
106+ For example: ` 1.5s = 1s + 500000000ns `
0 commit comments