Use Wasm programs as a filter
Due to the necessity to have a flexible filtering mechanism, it is now possible to extend Fluent Bit capabilities by writing custom filters using built Wasm programs and its runtime. A Wasm-based filter takes two steps:
- 1.(Optional) Compiled as AOT (Ahead Of Time) objects to optimize Wasm execution pipeline
- 2.Configure the Filter in the main configuration
- 3.Prepare a Wasm program that will be used by the Filter
The plugin supports the following configuration parameters:
Here is a configuration example.