Skip to content

Document Retain_Metadata_In_Forward_Mode field in ForwardOptions#331

Merged
fekete-robert merged 2 commits into
kube-logging:masterfrom
Promptless:promptless/document-retain-metadata-forward-mode
May 12, 2026
Merged

Document Retain_Metadata_In_Forward_Mode field in ForwardOptions#331
fekete-robert merged 2 commits into
kube-logging:masterfrom
Promptless:promptless/document-retain-metadata-forward-mode

Conversation

@promptless-for-oss
Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Adds documentation for the new Retain_Metadata_In_Forward_Mode configuration option in ForwardOptions, introduced with fluent-bit 5.0.4. This field controls metadata forwarding behavior and defaults to false to maintain fluentd compatibility.

Trigger Events


Tip: Use labels in the Promptless dashboard to categorize suggestions by release or team 🏷️

Add documentation for the new Retain_Metadata_In_Forward_Mode configuration
option introduced in fluent-bit 5.0.4. This field controls whether fluent-bit
appends log event metadata when forwarding records, and the operator defaults
it to false to maintain compatibility with fluentd.
### Require_ack_response (bool, optional) {#forwardoptions-require_ack_response}


### Retain_Metadata_In_Forward_Mode (bool, optional) {#forwardoptions-retain_metadata_in_forward_mode}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Retain_Metadata_In_Forward_Mode field documentation based on the new field added in pkg/sdk/logging/api/v1beta1/fluentbit_types.go. The field controls fluent-bit metadata forwarding and defaults to false for fluentd compatibility.

Source: kube-logging/logging-operator#2227

@promptless-for-oss
Copy link
Copy Markdown
Contributor Author

Just a reminder: I review PR comments by default. If you want me to ignore a specific comment, start it with aside or /aside.

@fekete-robert fekete-robert merged commit 4f3763b into kube-logging:master May 12, 2026
2 checks passed
@promptless-for-oss promptless-for-oss deleted the promptless/document-retain-metadata-forward-mode branch May 12, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants