File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -15,25 +15,27 @@ To get started with reloading over HTTP, enable the HTTP Server
1515in the configuration file:
1616
1717{% tabs %}
18+ {% tab title="fluent-bit.yaml" %}
19+
20+ ``` yaml
21+ service :
22+ http_server : on
23+ http_listen : 0.0.0.0
24+ http_port : 2020
25+ hot_reload : on
26+ ` ` `
27+
28+ {% endtab %}
1829{% tab title="fluent-bit.conf" %}
30+
1931` ` ` text
2032[SERVICE]
21- HTTP_Server On
22- HTTP_Listen 0.0.0.0
23- HTTP_PORT 2020
24- Hot_Reload On
25- ...
33+ HTTP_Server On
34+ HTTP_Listen 0.0.0.0
35+ HTTP_PORT 2020
36+ Hot_Reload On
2637```
27- {% endtab %}
2838
29- {% tab title="fluent-bit.yaml" %}
30- ``` yaml
31- service :
32- http_server : on
33- http_listen : 0.0.0.0
34- http_port : 2020
35- hot_reload : on
36- ` ` `
3739{% endtab %}
3840{% endtabs %}
3941
@@ -51,7 +53,7 @@ Use the following HTTP endpoints to perform a hot reload:
5153
5254For using curl to reload Fluent Bit, users must specify an empty request body as:
5355
54- ` ` ` text
56+ ``` shell
5557curl -X POST -d ' {}' localhost:2020/api/v2/reload
5658```
5759
@@ -77,4 +79,4 @@ The endpoint returns `hot_reload_count` as follows:
7779{"hot_reload_count" :3 }
7880```
7981
80- The default value of the counter is `0`.
82+ The default value of the counter is ` 0 ` .
You can’t perform that action at this time.
0 commit comments