-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs for wasm filter and exec wasi input plugin
Signed-off-by: jiuxia211 <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# WASM | ||
# Wasm | ||
|
||
The Wasm Filter allows you to modify the incoming records using Wasm technology. <br /> **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/filters/wasm** | ||
Wasm Filter allows you to modify the incoming records using Wasm technology. **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/filters/wasm** | ||
|
||
|
||
| Field | Description | Scheme | | ||
| ----- | ----------- | ------ | | ||
| wasmPath | Path to the built Wasm program that will be used. This can be a relative path against the main configuration file. | string | | ||
| eventFormat | Define event format to interact with Wasm programs: msgpack or json. Default: json | string | | ||
| functionName | Wasm function name that will be triggered to do filtering. It's assumed that the function is built inside the Wasm program specified above. | string | | ||
| accessiblePaths | Specify the whitelist of paths to be able to access paths from WASM programs. | string | | ||
| accessiblePaths | Specify the whitelist of paths to be able to access paths from WASM programs. | []string | | ||
| wasmHeapSize | Size of the heap size of Wasm execution. Review unit sizes for allowed values. | string | | ||
| wasmStackSize | Size of the stack size of Wasm execution. Review unit sizes for allowed values. | string | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# ExecWasi | ||
|
||
The exec_wasi input plugin, allows to execute WASM program that is WASI target like as external program and collects event logs from there. **For full documentation, refer to https://docs.fluentbit.io/manual/pipeline/inputs/exec-wasi** | ||
|
||
|
||
| Field | Description | Scheme | | ||
| ----- | ----------- | ------ | | ||
| wasiPath | The place of a WASM program file. | string | | ||
| parser | Specify the name of a parser to interpret the entry as a structured message. | string | | ||
| accessiblePaths | Specify the whitelist of paths to be able to access paths from WASM programs. | []string | | ||
| intervalSec | Polling interval (seconds). | *int32 | | ||
| intervalNSec | Polling interval (nanoseconds). | *int64 | | ||
| wasmHeapSize | | string | | ||
| wasmStackSize | Size of the stack size of Wasm execution. Review unit sizes for allowed values. | string | | ||
| bufSize | Size of the buffer (check unit sizes for allowed values) | string | | ||
| threaded | Indicates whether to run this input in its own thread. Default: false. | *bool | |