@@ -15,19 +15,35 @@ To start getting the Linux Kernel messages, you can run the plugin from the comm
15
15
16
16
### Command line
17
17
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 ' *'
20
20
```
21
21
22
22
Which returns output similar to:
23
23
24
24
``` 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
28
27
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
29
28
* https://fluentbit.io
30
29
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
31
47
[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"}]
32
48
[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"}]
33
49
[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
39
55
40
56
### Configuration file
41
57
42
- In your main configuration file append the following ` Input ` and ` Output ` sections :
58
+ In your main configuration file append the following:
43
59
44
60
{% 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
-
59
61
{% tab title="fluent-bit.yaml" %}
60
62
61
63
``` yaml
62
64
pipeline :
63
65
inputs :
64
66
- name : kmsg
65
67
tag : kernel
68
+
66
69
outputs :
67
70
- name : stdout
68
71
match : ' *'
69
72
` ` `
70
73
71
74
{% 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