Skip to content

Commit 69ceb3d

Browse files
committed
Admin: config plugins: yaml: Style updates
Signed-off-by: Lynette Miles <[email protected]>
1 parent 80f92fa commit 69ceb3d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

administration/configuring-fluent-bit/yaml/plugins-section.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Plugins Section
1+
# Plugins section
22

3-
While Fluent Bit comes with a variety of built-in plugins, it also supports loading external plugins at runtime. This feature is especially useful for loading Go or Wasm plugins that are built as shared object files (.so). Fluent Bit's YAML configuration provides two ways to load these external plugins:
3+
Fluent Bit comes with a variety of built-in plugins, and also supports loading
4+
external plugins at runtime. This feature is especially useful for loading Go or
5+
WebAssembly (Wasm) plugins that are built as shared object files (.so). Fluent Bit YAML
6+
configuration provides the following ways to load these external plugins:
47

5-
## 1. Inline YAML Section
8+
## Inline YAML
69

710
You can specify external plugins directly within your main YAML configuration file using the `plugins` section. Here's an example:
811

@@ -22,9 +25,12 @@ pipeline:
2225
match: '*'
2326
```
2427
25-
## 2. YAML Plugins File Included using the `plugins_file` Option
28+
## YAML plugins file included using the `plugins_file` option
2629

27-
Alternatively, you can load external plugins from a separate YAML file by specifying the `plugins_file` option in the service section. Here's how to configure this:
30+
You can load external plugins from a separate YAML file by specifying the
31+
`plugins_file` option in the service section for better modularity.
32+
33+
To configure this:
2834

2935
```yaml
3036
service:
@@ -46,8 +52,3 @@ In this setup, the `extra_plugins.yaml` file might contain the following plugins
4652
plugins:
4753
- /other/path/to/out_gstdout.so
4854
```
49-
50-
### Key Points
51-
52-
- Built-in versus External: Fluent Bit comes with many built-in plugins, but you can load external plugins at runtime to extend the tool's functionality.
53-
- Loading Mechanism: External plugins must be shared object files (.so). You can define them inline in the main YAML configuration or include them from a separate YAML file for better modularity.

0 commit comments

Comments
 (0)