Skip to content

Improve fluent-bit-output-plugin configuration setup #533

Description

@iypetrov

What would you like to be added:

After fluent-bit PR #12058 got merged, the fluent-bit engine can now validate plugin configurations for non-native C plugins (Go, WASM). To make use of this functionality, we need to make two changes:

This follows the approach discussed in this comment.

Why is this needed:
Currently, fluent-bit does not validate some configuration errors, e.g. a string provided where an integer is expected. Using the schema validation provides better guardrails and lets us validate the entire configuration in a single step instead of making ~300 calls to fluent-bit to check individual keys.

Related Issues & PRs:
Issues:

PRs:

Metadata

Metadata

Assignees

Labels

kind/enhancementEnhancement, improvement, extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions