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
|Wasm\_Heap\_Size| Size of the heap size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
17
-
|Wasm\_Stack\_Size| Size of the stack size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
18
-
|Buf\_Size| Size of the buffer \(check[unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values\)|
19
-
| Oneshot | Only run once at startup. This allows collection of data precedent to fluent-bit's startup (bool, default: false)|
20
-
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). Default: `false`. |
21
-
22
-
## Configuration Examples
11
+
|`WASI_Path`| The location of a Wasm program file. |
12
+
|`Parser`| Specify the name of a parser to interpret the entry as a structured message. |
13
+
|`Accessible_Paths`| Specify the allowed list of paths to be able to access paths from WASM programs. |
|`Wasm_Heap_Size`| Size of the heap size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
17
+
|`Wasm_Stack_Size`| Size of the stack size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
18
+
|`Buf_Size`| Size of the buffer See[unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values.|
19
+
|`Oneshot`| Only run once at startup. This allows collection of data precedent to the Fluent Bit startup (Boolean, default: `false`).|
20
+
|`Threaded`| Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). Default: `false`. |
21
+
22
+
## Configuration examples
23
23
24
24
Here is a configuration example.
25
-
in\_exec\_wasi can handle parser.
26
-
To retrieve from structured data from WASM program, you have to create parser.conf:
27
25
28
-
Note that `Time_Format` should be aligned for the format of your using timestamp.
29
-
In this documents, we assume that WASM program should write JSON style strings into stdout.
26
+
`in_exec_wasi` can handle parsers. To retrieve from structured data from a WASM program, you must create a `parser.conf`:
30
27
28
+
The `Time_Format` should be aligned for the format of your using timestamp.
29
+
30
+
This example assumes the WASM program writes JSON style strings to `stdout`.
31
31
32
32
```python
33
33
[PARSER]
@@ -37,7 +37,7 @@ In this documents, we assume that WASM program should write JSON style strings i
37
37
Time_Format %Y-%m-%dT%H:%M:%S.%L %z
38
38
```
39
39
40
-
Then, you can specify the above parsers.conf in the main fluent-bit configuration:
40
+
Then, you can specify the `parsers.conf` in the main Fluent Bit configuration:
0 commit comments