Skip to content

Commit 422a03d

Browse files
committed
fix: Parsers do not have to be in seperate files
On the "Parsers" page for the v4.0 documentation, it states: > You can define parsers either directly in the main configuration file > or in separate external files for better organization. But on the "Configuring parsers" section, subsection "Parser Configuration File"[2], it says: > All parsers must be defined in a parsers file, not in the Fluent Bit > global configuration file. Those seem like contradictory statements. I think the truth is that parsers may be defined in the main global configuration file, behavior which I think is supported since v3.2 [1] - https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/yaml/parsers-section [2] - https://docs.fluentbit.io/manual/data-pipeline/parsers/configuring-parser#parsers-configuration-file
1 parent c47d128 commit 422a03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline/parsers/configuring-parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Multiple parsers can be defined and each section has it own properties. The foll
4545

4646
## Parsers configuration file
4747

48-
All parsers must be defined in a parsers file, not in the Fluent Bit global configuration file. The parsers file exposes all parsers available that can be used by the input plugins that are aware of this feature. A parsers file can have multiple entries, like so:
48+
All parsers may be defined in a parsers file. The parsers file exposes all parsers available that can be used by the input plugins that are aware of this feature. A parsers file can have multiple entries, like so:
4949

5050
{% tabs %}
5151
{% tab title="parsers.yaml" %}

0 commit comments

Comments
 (0)