Skip to content

Commit ddfbbcc

Browse files
authored
Merge pull request #1651 from fluent/lynettemiles/sc-135611/update-fluent-bit-fluent-bit-docs-administration
2 parents 8eae74b + 8d2337a commit ddfbbcc

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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 external plugins at runtime. This feature is especially useful for loading Go or WebAssembly (Wasm) plugins that are built as shared object files (.so). Fluent Bit YAML configuration provides the following ways to load these external plugins:
44

5-
## 1. Inline YAML Section
5+
## Inline YAML
66

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

@@ -22,9 +22,11 @@ pipeline:
2222
match: '*'
2323
```
2424
25-
## 2. YAML Plugins File Included using the `plugins_file` Option
25+
## YAML plugins file included using the `plugins_file` option
2626

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:
27+
You can load external plugins from a separate YAML file by specifying the `plugins_file` option in the service section for better modularity.
28+
29+
To configure this:
2830

2931
```yaml
3032
service:
@@ -46,8 +48,3 @@ In this setup, the `extra_plugins.yaml` file might contain the following plugins
4648
plugins:
4749
- /other/path/to/out_gstdout.so
4850
```
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)