Skip to content

Commit

Permalink
helm template fluentbit output es support logstashPrefixKey
Browse files Browse the repository at this point in the history
Signed-off-by: Onecer <[email protected]>
  • Loading branch information
onecer committed Apr 11, 2024
1 parent 9f50331 commit 8e7b3d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ spec:
{{ toYaml .Values.fluentbit.output.es.httpPassword | indent 6 }}
{{- end }}
logstashFormat: {{ .Values.fluentbit.output.es.logstashFormat | default true }}
logstashPrefix: {{ .Values.fluentbit.output.es.logstashPrefix | default "ks-logstash-log" | quote }}
{{- if .Values.fluentbit.output.es.logstashPrefix }}
logstashPrefix: {{ .Values.fluentbit.output.es.logstashPrefix | quote }}
{{- end }}
{{- if .Values.fluentbit.output.es.logstashPrefixKey }}
logstashPrefixKey: {{ .Values.fluentbit.output.es.logstashPrefixKey | quote }}
{{- end }}
replaceDots: {{ .Values.fluentbit.output.es.replaceDots | default false }}
writeOperation: {{ .Values.fluentbit.output.es.writeOperation | default "create" | quote }}
traceError: {{ .Values.fluentbit.output.es.traceError | default false }}
Expand Down
1 change: 1 addition & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ fluentbit:
logstashPrefix: ks-logstash-log
bufferSize: 20MB
traceError: true
# logstashPrefixKey: ks-logstash-log
# suppressTypeName: "On"
# path: ""
# bufferSize: "4KB"
Expand Down

0 comments on commit 8e7b3d9

Please sign in to comment.