Repository navigation
Conversation
…ch outputs Signed-off-by: Lucas Barros <lucasbarros.kam@gmail.com>
joshuabaird
previously approved these changes
Nov 5, 2026
joshuabaird
left a comment
Collaborator
There was a problem hiding this comment.
Thanks, this looks good. I rendered both outputs with the key unset and with logstashFormat=false and got true and false as expected.
One small suggestion: add a commented # logstashFormat: true under fluentd.output.es in values.yaml, like the Fluent Bit ES section has, so the option is easier to find.
Two existing issues I noticed while testing, not caused by this PR:
fluentd-output-opensearch.yamluses.buffer.typeand.buffer.pathinside{{- with .buffer }}. Setting any OpenSearch buffer value fails to render withnil pointer evaluating interface {}.type. They should be.typeand.path.- Both Fluentd templates ignore
buffer.enable, so the buffer block renders even withenable: false, which is the ES default invalues.yaml.
Happy to see those handled in a follow-up.
Signed-off-by: Lucas Barros <lucasbarros.kam@gmail.com>
Contributor
Author
|
Added it under |
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Follow-up to #2113, as suggested in this review. The Fluentd
elasticsearchandopensearchClusterOutput templates hardcodelogstashFormat: true, so settingfluentd.output.es.logstashFormatorfluentd.output.opensearch.logstashFormattofalsehas no effect.Both templates now use
dig "logstashFormat" true ., same as #2113: the default staystruewhen the key is not set, and an explicitfalseis kept.Checked with
helm template(Fluentd with both outputs enabled):logstashFormat: true, full render identical to masterlogstashFormat=true:truelogstashFormat=false:trueon master,falsewith this changehelm lint charts/fluent-operatorpasses, and the rendered ClusterOutputs validate with kubeconform against the chart'sfluentd.fluent.io_clusteroutputsCRD schema.Which issue(s) this PR fixes:
None, follow-up from the #2113 review.
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: