From a107f18a0ef6e8a3041489817c0f90ccee03861a Mon Sep 17 00:00:00 2001 From: Niki Dokovski Date: Thu, 30 Nov 2023 09:12:21 +0100 Subject: [PATCH] set write operation to upsert in fluent-bit output plugin --- chart/fluent-bit-configs/output-nginx.conf | 1 + chart/templates/fluent-bit/fluent-bit-config-sec.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/chart/fluent-bit-configs/output-nginx.conf b/chart/fluent-bit-configs/output-nginx.conf index 08bea13..0cf5167 100644 --- a/chart/fluent-bit-configs/output-nginx.conf +++ b/chart/fluent-bit-configs/output-nginx.conf @@ -19,6 +19,7 @@ Include_Tag_Key Off Time_Key_Nanos Off Generate_ID On + write_operation upsert tls On tls.Verify On {{- if or .Values.fluentbit.caCertificateSecret .Values.opensearch.externalOpensearch.disabled }} diff --git a/chart/templates/fluent-bit/fluent-bit-config-sec.yaml b/chart/templates/fluent-bit/fluent-bit-config-sec.yaml index 6411b15..12d3b0e 100644 --- a/chart/templates/fluent-bit/fluent-bit-config-sec.yaml +++ b/chart/templates/fluent-bit/fluent-bit-config-sec.yaml @@ -142,6 +142,7 @@ stringData: Include_Tag_Key Off Time_Key_Nanos Off Generate_ID On + write_operation upsert tls On tls.Verify On {{- if or .Values.fluentbit.caCertificateSecret .Values.opensearch.externalOpensearch.disabled }} @@ -174,6 +175,7 @@ stringData: Time_Key_Nanos On {{- end }} Generate_ID On + write_operation upsert tls On tls.Verify On {{- if or .Values.fluentbit.caCertificateSecret .Values.opensearch.externalOpensearch.disabled }}