You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: development/wasm-filter-plugins.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,9 @@ Currently, Fluent Bit supports the following Wasm tool chains:
35
35
As described in the general options in the [source installation](../installation/sources/build-and-install.md) guide, Wasm support is enabled by default. Compile Fluent Bit with Wasm support, for example:
36
36
37
37
```text
38
-
$ cd build/
39
-
$ cmake .. [-DFLB_WAMRC=On]
40
-
$ make
38
+
cd build/
39
+
cmake .. [-DFLB_WAMRC=On]
40
+
make
41
41
```
42
42
43
43
To support AOT-compiled Wasm execution as filter plugins, build Fluent Bit with `-DFLB_WAMRC=On`.
@@ -65,7 +65,7 @@ The Fluent Bit Wasm filter assumes C ABI, also known as `wasm32-unknown-unknown`
65
65
TinyGo and WASI SDK support Wasm target by default. When using Rust's `wasm32-unknown-unknown` target, you must install `wasm32-unknown-unknown` by using [rustup](https://rustup.rs/). Then, install the target components as follows:
66
66
67
67
```text
68
-
$ rustup target add wasm32-unknown-unknown
68
+
rustup target add wasm32-unknown-unknown
69
69
```
70
70
71
71
### Requirements of Wasm programs
@@ -228,13 +228,13 @@ To optimize Wasm program execution, there is the option of using `flb-wamrc`. Th
228
228
This tool will be built when the `-DFLB_WAMRC=On` CMake option is specified and LLVM infrastructure is installed on the building box.
Copy file name to clipboardExpand all lines: development/wasm-input-plugins.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,9 @@ Fluent Bit supports the following Wasm toolchains:
25
25
Compile Fluent Bit with Wasm support. For example:
26
26
27
27
```text
28
-
$ cd build/
29
-
$ cmake ..
30
-
$ make
28
+
cd build/
29
+
cmake ..
30
+
make
31
31
```
32
32
33
33
Once compiled, you can see new plugins that handle `wasm`. For example:
@@ -53,7 +53,7 @@ Wasm input in Fluent Bit assumes WASI ABI, also known as `wasm32-wasi` on Rust t
53
53
TinyGo and WASI SDK support Wasm target by default. When using Rust's `wasm32-wasi` target, you must install `wasm32-wasi` by using [rustup](https://rustup.rs/). Then, install the target components as:
Copy file name to clipboardExpand all lines: pipeline/filters/grep.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ When using the command line, pay close attention to quote the regular expression
42
42
The following command loads the [tail](../../pipeline/inputs/tail) plugin and reads the content of `lines.txt`. Then the `grep` filter applies a regular expression rule over the `log` field created by the `tail` plugin and only passes records with a field value starting with `aa`:
0 commit comments