Skip to content

Commit 418e6eb

Browse files
committed
Fixed shell useage in EBPF input plugin doc. Part of issue #1954.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 91a1ce5 commit 418e6eb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pipeline/inputs/ebpf.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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
2424
sudo apt update
2525
sudo 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

3232
1. 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

4949
1. Compile the source:
5050

51-
```bash
51+
```shell
5252
make
5353
```
5454

5555
1. 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

0 commit comments

Comments
 (0)