@@ -71,10 +71,10 @@ Start Fluent bit with the corresponding configuration chosen above:
7171
7272``` shell
7373# For YAML configuration.
74- bin/fluent-bit -c fluent-bit.conf
74+ $ ./ bin/fluent-bit --config fluent-bit.yaml
7575
7676# For classic configuration.
77- bin/fluent-bit -c fluent-bit.conf
77+ $ ./ bin/fluent-bit --config fluent-bit.conf
7878```
7979
8080Fluent Bit starts and generates output in your terminal:
@@ -94,8 +94,8 @@ Use `curl` to gather information about the HTTP server. The following command se
9494the command output to the ` jq ` program, which outputs human-readable JSON data to the
9595terminal.
9696
97- ``` bash
98- curl -s http://127.0.0.1:2020 | jq
97+ ``` shell
98+ $ curl -s http://127.0.0.1:2020 | jq
9999{
100100 " fluent-bit" : {
101101 " version" : " 0.13.0" ,
@@ -264,8 +264,8 @@ layer.
264264
265265Query the service uptime with the following command:
266266
267- ``` bash
268- curl -s http://127.0.0.1:2020/api/v1/uptime | jq
267+ ``` shell
268+ $ curl -s http://127.0.0.1:2020/api/v1/uptime | jq
269269```
270270
271271The command prints a similar output like this:
@@ -281,8 +281,8 @@ The command prints a similar output like this:
281281
282282Query internal metrics in JSON format with the following command:
283283
284- ``` bash
285- curl -s http://127.0.0.1:2020/api/v1/metrics | jq
284+ ``` shell
285+ $ curl -s http://127.0.0.1:2020/api/v1/metrics | jq
286286```
287287
288288The command prints a similar output like this:
@@ -311,8 +311,8 @@ The command prints a similar output like this:
311311
312312Query internal metrics in Prometheus Text 0.0.4 format:
313313
314- ``` bash
315- curl -s http://127.0.0.1:2020/api/v1/metrics/prometheus
314+ ``` shell
315+ $ curl -s http://127.0.0.1:2020/api/v1/metrics/prometheus
316316```
317317
318318This command returns the same metrics in Prometheus format instead of JSON:
@@ -361,7 +361,7 @@ pipeline:
361361
362362{% tab title="fluent-bit.conf" %}
363363
364- ` ` ` yaml
364+ ` ` ` text
365365[SERVICE]
366366 HTTP_Server On
367367 HTTP_Listen 0.0.0.0
@@ -482,7 +482,7 @@ pipeline:
482482
483483{% tab title="fluent-bit.conf" %}
484484
485- ` ` ` yaml
485+ ` ` ` text
486486[SERVICE]
487487 HTTP_Server On
488488 HTTP_Listen 0.0.0.0
@@ -505,8 +505,8 @@ pipeline:
505505
506506Use the following command to call the health endpoint:
507507
508- ``` bash
509- curl -s http://127.0.0.1:2020/api/v1/health
508+ ``` shell
509+ $ curl -s http://127.0.0.1:2020/api/v1/health
510510```
511511
512512With the example configuration, the health status is determined by the following equation:
0 commit comments