File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ To enable `in_ebpf`, ensure the following dependencies are installed on your sys
2020
2121### Installing dependencies on Ubuntu
2222
23- ``` bash
23+ ``` shell
2424sudo apt update
2525sudo apt install libbpf-dev linux-tools-common cmake
2626```
@@ -31,7 +31,7 @@ To enable the `in_ebpf` plugin, follow these steps to build Fluent Bit from sour
3131
32321 . Clone the Fluent Bit repository:
3333
34- ``` bash
34+ ``` shell
3535 git clone https://github.com/fluent/fluent-bit.git
3636 cd fluent-bit
3737 ```
@@ -40,28 +40,28 @@ To enable the `in_ebpf` plugin, follow these steps to build Fluent Bit from sour
4040
4141 Create a build directory and run ` cmake ` with the ` -DFLB_IN_EBPF=On ` flag to enable the ` in_ebpf ` plugin:
4242
43- ``` bash
43+ ``` shell
4444 mkdir build
4545 cd build
4646 cmake .. -DFLB_IN_EBPF=On
4747 ```
4848
49491 . Compile the source:
5050
51- ``` bash
51+ ``` shell
5252 make
5353 ```
5454
55551 . Run Fluent Bit:
5656
5757 Run Fluent Bit with elevated permissions (for example, ` sudo ` ). Loading eBPF programs requires root access or appropriate privileges.
5858
59- ``` bash
59+ ``` shell
6060 # For YAML configuration.
61- sudo ./bin/ fluent-bit --config fluent-bit.yaml
61+ sudo fluent-bit --config fluent-bit.yaml
6262
6363 # For classic configuration.
64- sudo ./bin/ fluent-bit --config fluent-bit.conf
64+ sudo fluent-bit --config fluent-bit.conf
6565 ```
6666
6767## Configuration example
You can’t perform that action at this time.
0 commit comments