From a999f873217b16f539d09410684104aa6dca4015 Mon Sep 17 00:00:00 2001 From: Jeff Cantrill Date: Wed, 11 Apr 2018 12:26:48 -0400 Subject: [PATCH] bug 1565909. Modify the default operation to be create to avoid deletions (cherry picked from commit e5ddcdf665bad46dc4a6310a98e9b76aa00fd404) --- fluentd/configs.d/openshift/output-es-config.conf | 2 ++ fluentd/configs.d/openshift/output-es-ops-config.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fluentd/configs.d/openshift/output-es-config.conf b/fluentd/configs.d/openshift/output-es-config.conf index fc906a304..dd104a2ad 100644 --- a/fluentd/configs.d/openshift/output-es-config.conf +++ b/fluentd/configs.d/openshift/output-es-config.conf @@ -27,6 +27,8 @@ buffer_chunk_limit "#{ENV['BUFFER_SIZE_LIMIT'] || '8m' }" buffer_queue_full_action "#{ENV['BUFFER_QUEUE_FULL_ACTION'] || 'block'}" + write_operation 'create' + # 2 ^ 31 request_timeout 2147483648 diff --git a/fluentd/configs.d/openshift/output-es-ops-config.conf b/fluentd/configs.d/openshift/output-es-ops-config.conf index 9ec97c786..d0faa87bc 100644 --- a/fluentd/configs.d/openshift/output-es-ops-config.conf +++ b/fluentd/configs.d/openshift/output-es-ops-config.conf @@ -27,6 +27,8 @@ buffer_chunk_limit "#{ENV['BUFFER_SIZE_LIMIT'] || '8m' }" buffer_queue_full_action "#{ENV['BUFFER_QUEUE_FULL_ACTION'] || 'block'}" + write_operation 'create' + # 2 ^ 31 request_timeout 2147483648