File tree 1 file changed +26
-2
lines changed
1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ fluent-bit -i cpu -t cpu -o doris \
56
56
57
57
In your main configuration file, append the following ` Input ` and ` Output ` sections.
58
58
59
+ {% tabs %}
60
+ {% tab title="fluent-bit.conf" %}
59
61
``` python copy
60
62
[INPUT ]
61
63
Name cpu
@@ -70,5 +72,27 @@ In your main configuration file, append the following `Input` and `Output` secti
70
72
password admin
71
73
database d_fb
72
74
table t_fb
73
- columns date, cpu_p, log= cast(cpu_p as string)
74
- ```
75
+ header columns date, cpu_p, log= cast(cpu_p as string)
76
+ ```
77
+ {% endtab %}
78
+
79
+ {% tab title="fluent-bit.yaml" %}
80
+ ``` yaml copy
81
+ pipeline :
82
+ inputs :
83
+ - name : cpu
84
+ tag : cpu
85
+ outputs :
86
+ - name : doris
87
+ match : ' *'
88
+ host : 127.0.0.1
89
+ port : 8030
90
+ user : admin
91
+ password : admin
92
+ database : d_fb
93
+ table : t_fb
94
+ header :
95
+ - columns date, cpu_p, log=cast(cpu_p as string)
96
+ ` ` `
97
+ {% endtab %}
98
+ {% endtabs %}
You can’t perform that action at this time.
0 commit comments