WASM Input Plugins
Last updated
Was this helpful?
Was this helpful?
$ cd build/
$ cmake ..
$ make$ bin/fluent-bit -h
Usage: fluent-bit [OPTION]
Inputs
# ... other input plugin stuffs
exec_wasi Exec WASI Input
Filters
# ... other filter plugin stuffs
wasm WASM program filter$ rustup target add wasm32-wasi[INPUT]
Name exec_wasi
Tag exec.wasi.local
WASI_Path /path/to/wasi_built_json.wasm
# For security reasons, WASM/WASI program cannot access its outer world
# without accessible permissions.
# accessible_paths .,/path/to/fluent-bit
[OUTPUT]
Name stdout
Match *