@@ -15,19 +15,35 @@ To start getting the Linux Kernel messages, you can run the plugin from the comm
1515
1616### Command line
1717
18- ``` bash
19- bin/ fluent-bit -i kmsg -t kernel -o stdout -m ' *'
18+ ``` shell
19+ $ fluent-bit -i kmsg -t kernel -o stdout -m ' *'
2020```
2121
2222Which returns output similar to:
2323
2424``` text
25- Fluent Bit v1.x.x
26- * Copyright (C) 2019-2020 The Fluent Bit Authors
27- * Copyright (C) 2015-2018 Treasure Data
25+ Fluent Bit v4.0.0
26+ * Copyright (C) 2015-2025 The Fluent Bit Authors
2827* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
2928* https://fluentbit.io
3029
30+ ______ _ _ ______ _ _ ___ _____
31+ | ___| | | | | ___ (_) | / || _ |
32+ | |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __/ /| || |/' |
33+ | _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| || /| |
34+ | | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /\___ |\ |_/ /
35+ \_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ |_(_)___/
36+
37+
38+ [2025/06/30 16:12:06] [ info] [fluent bit] version=4.0.0, commit=3a91b155d6, pid=91577
39+ [2025/06/30 16:12:06] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
40+ [2025/06/30 16:12:06] [ info] [simd ] disabled
41+ [2025/06/30 16:12:06] [ info] [cmetrics] version=0.9.9
42+ [2025/06/30 16:12:06] [ info] [ctraces ] version=0.6.2
43+ [2025/06/30 16:12:06] [ info] [input:health:health.0] initializing
44+ [2025/06/30 16:12:06] [ info] [input:health:health.0] storage_strategy='memory' (memory only)
45+ [2025/06/30 16:12:06] [ info] [sp] stream processor started
46+ [2025/06/30 16:12:06] [ info] [output:stdout:stdout.0] worker #0 started
3147[0] kernel: [1463421823, {"priority"=>3, "sequence"=>1814, "sec"=>11706, "usec"=>732233, "msg"=>"ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 34:a8:4e:d3:40:ec profile =20:3a:07:9e:4a:ac"}]
3248[1] kernel: [1463421823, {"priority"=>3, "sequence"=>1815, "sec"=>11706, "usec"=>732300, "msg"=>"ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 34:a8:4e:d3:40:ec profile =20:3a:07:9e:4a:ac"}]
3349[2] kernel: [1463421829, {"priority"=>3, "sequence"=>1816, "sec"=>11712, "usec"=>729728, "msg"=>"ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 34:a8:4e:d3:40:ec profile =20:3a:07:9e:4a:ac"}]
@@ -39,34 +55,34 @@ As described previously, the plugin processed all messages that the Linux Kernel
3955
4056### Configuration file
4157
42- In your main configuration file append the following ` Input ` and ` Output ` sections :
58+ In your main configuration file append the following:
4359
4460{% tabs %}
45- {% tab title="fluent-bit.conf" %}
46-
47- ``` python
48- [INPUT ]
49- Name kmsg
50- Tag kernel
51-
52- [OUTPUT ]
53- Name stdout
54- Match *
55- ```
56-
57- {% endtab %}
58-
5961{% tab title="fluent-bit.yaml" %}
6062
6163``` yaml
6264pipeline :
6365 inputs :
6466 - name : kmsg
6567 tag : kernel
68+
6669 outputs :
6770 - name : stdout
6871 match : ' *'
6972` ` `
7073
7174{% endtab %}
72- {% endtabs %}
75+ {% tab title="fluent-bit.conf" %}
76+
77+ ` ` ` text
78+ [INPUT]
79+ Name kmsg
80+ Tag kernel
81+
82+ [OUTPUT]
83+ Name stdout
84+ Match *
85+ ```
86+
87+ {% endtab %}
88+ {% endtabs %}
0 commit comments