Plugins

In addition to the plugins that come bundled with Fluent Bit, you can load external plugins. Use this feature for loading Go or WebAssembly (Wasm) plugins that are built as shared object files (.so).

circle-info

To configure the settings for individual plugins, use the inputs and outputs sections nested under the pipeline section of YAML configuration files.

Inline YAML

You can specify external plugins in the plugins section of YAML configuration files. For example:

plugins:
  - /path/to/out_gstdout.so

service:
  log_level: info

pipeline:
  inputs:
    - name: random

  outputs:
    - name: gstdout
      match: '*'

YAML plugins file included using the plugins_file option

Additionally, you can define external plugins in a separate YAML file, then reference that file in the plugins_file key nested under the service section of your YAML configuration file. For example:

In this setup, the extra_plugins.yaml file might contain the following plugins section:

Last updated

Was this helpful?