File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 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 \
5656
5757In your main configuration file, append the following ` Input ` and ` Output ` sections.
5858
59+ {% tabs %}
60+ {% tab title="fluent-bit.conf" %}
5961``` python copy
6062[INPUT ]
6163 Name cpu
@@ -70,5 +72,27 @@ In your main configuration file, append the following `Input` and `Output` secti
7072 password admin
7173 database d_fb
7274 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