From fd45de32d77c592c0ebaed55b275250afe74fbb2 Mon Sep 17 00:00:00 2001 From: Peter Wilcsinszky Date: Tue, 10 Oct 2023 12:30:55 +0200 Subject: [PATCH 1/2] reword whatsnew for timeout based configcheck Signed-off-by: Peter Wilcsinszky --- content/docs/whats-new/_index.md | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/content/docs/whats-new/_index.md b/content/docs/whats-new/_index.md index 96bdc49a1..ff5c41bdb 100644 --- a/content/docs/whats-new/_index.md +++ b/content/docs/whats-new/_index.md @@ -40,32 +40,16 @@ In a future Logging operator version the logs of the aggregators will also be av ### Timeout-based configuration checks -You can now use timeout-based configuration strategies for both syslog-ng and Fluentd. For example: +Timeout based configuration checks are different from the normal method in that it starts a fluentd or syslog-ng instance +without the dry-run or syntax-check flags, so that output plugins or destination drivers will actually try to establish +connections and will fail if there are any issues with the credentials for example. +Add the following to you `Logging` resource spec: ```yaml -apiVersion: logging.banzaicloud.io/v1beta1 -kind: Logging -metadata: - name: all-to-file spec: configCheck: strategy: StartWithTimeout timeoutSeconds: 5 - syslogNG: {} - controlNamespace: default -``` - -```yaml -apiVersion: logging.banzaicloud.io/v1beta1 -kind: Logging -metadata: - name: all-to-file -spec: - configCheck: - strategy: StartWithTimeout - timeoutSeconds: 5 - fluentd: {} - controlNamespace: default ``` ### Istio support From 67d8892948ec59be0a40293d02ca493a1bf705be Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Tue, 10 Oct 2023 12:35:50 +0200 Subject: [PATCH 2/2] Update content/docs/whats-new/_index.md Signed-off-by: Robert Fekete --- content/docs/whats-new/_index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/whats-new/_index.md b/content/docs/whats-new/_index.md index ff5c41bdb..ec1970b57 100644 --- a/content/docs/whats-new/_index.md +++ b/content/docs/whats-new/_index.md @@ -40,9 +40,9 @@ In a future Logging operator version the logs of the aggregators will also be av ### Timeout-based configuration checks -Timeout based configuration checks are different from the normal method in that it starts a fluentd or syslog-ng instance -without the dry-run or syntax-check flags, so that output plugins or destination drivers will actually try to establish -connections and will fail if there are any issues with the credentials for example. +Timeout-based configuration checks are different from the normal method: they start a Fluentd or syslog-ng instance +without the dry-run or syntax-check flags, so output plugins or destination drivers actually try to establish +connections and will fail if there are any issues , for example, with the credentials. Add the following to you `Logging` resource spec: ```yaml