Skip to content

Commit ac73c46

Browse files
authored
filter_wasm: Add a description for event_format (#1293)
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 71291a4 commit ac73c46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipeline/filters/wasm.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The plugin supports the following configuration parameters:
1919
| Key | Description |
2020
| :--- | :--- |
2121
| Wasm\_Path | Path to the built Wasm program that will be used. This can be a relative path against the main configuration file. |
22+
| Event\_Format | Define event format to interact with Wasm programs: msgpack or json. Default: json |
2223
| Function\_Name | Wasm function name that will be triggered to do filtering. It's assumed that the function is built inside the Wasm program specified above. |
2324
| Accessible\_Paths | Specify the whilelist of paths to be able to access paths from WASM programs. |
2425

@@ -34,6 +35,7 @@ Here is a configuration example.
3435
[FILTER]
3536
Name wasm
3637
Match dummy.*
38+
Event_Format json # or msgpack
3739
WASM_Path /path/to/wasm_program.wasm
3840
Function_Name filter_function_name
3941
Accessible_Paths .,/path/to/accessible

0 commit comments

Comments
 (0)