Skip to content

Commit 05285ed

Browse files
authored
Merge pull request #21087 from eRaid6/patch-1
Change sysconfig.conf to syslog.conf
2 parents 304559b + 8336140 commit 05285ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/cluster-logging-collector-syslog.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ There are two versions of the Fluentd syslog plug-in:
2222
* *out_syslog*: The non-buffered implementation, which communicates through UDP, does not buffer data and writes out results immediately.
2323
* *out_syslog_buffered*: The buffered implementation, which communicates through TCP, link:https://docs.fluentd.org/buffer[buffers data into chunks].
2424

25-
To configure the Fluentd syslog plug-in, create a configuration file, called `sysconfig.conf`, with the information needed to forward the logs. Then use that file to create a ConfigMap called `syslog` in the `openshift-logging` namespace, which {product-title} uses when forwarding the logs. On the receiver, configure the *in_syslog* plug-in to receive the logs from {product-title}. For more information on using the *in_forward* plug-in, see the link:https://docs.fluentd.org/input/syslog[Fluentd documentation].
25+
To configure the Fluentd syslog plug-in, create a configuration file, called `syslog.conf`, with the information needed to forward the logs. Then use that file to create a ConfigMap called `syslog` in the `openshift-logging` namespace, which {product-title} uses when forwarding the logs. On the receiver, configure the *in_syslog* plug-in to receive the logs from {product-title}. For more information on using the *in_forward* plug-in, see the link:https://docs.fluentd.org/input/syslog[Fluentd documentation].
2626

2727
[IMPORTANT]
2828
====
@@ -31,7 +31,7 @@ Changes introduced by the new log forward feature modified the support for Fluen
3131

3232
You can use multiple syslog servers by specifying separate `<store>` stanzas in the configuration file.
3333

34-
.Sample `sysconfig.conf`
34+
.Sample `syslog.conf`
3535
----
3636
<store>
3737
@type syslog_buffered <1>
@@ -62,7 +62,7 @@ payload_key message <10>
6262
// Above definitions from https://github.com/docebo/fluent-plugin-remote-syslog
6363

6464

65-
.Sample `syslog` ConfigMap based on the sample `sysconfig.conf`
65+
.Sample `syslog` ConfigMap based on the sample `syslog.conf`
6666

6767
[source,yaml]
6868
----
@@ -72,7 +72,7 @@ metadata:
7272
name: syslog
7373
namespace: openshift-logging
7474
data:
75-
sysconfig.conf: |
75+
syslog.conf: |
7676
<store>
7777
@type syslog_buffered
7878
remote_syslog syslogserver.openshift-logging.svc.cluster.local
@@ -91,7 +91,7 @@ data:
9191

9292
To configure the Fluentd syslog plug-in:
9393

94-
. Create a configuration file named `sysconfig.conf` that contains the following
94+
. Create a configuration file named `syslog.conf` that contains the following
9595
parameters within the `<store>` stanza:
9696

9797
.. Specify the Fluentd syslog plug-in type:
@@ -167,7 +167,7 @@ use_record false
167167
. Create a ConfigMap named `syslog` in the `openshift-logging` namespace from the configuration file:
168168
+
169169
----
170-
$ oc create configmap syslog --from-file=sysconfig.conf -n openshift-logging
170+
$ oc create configmap syslog --from-file=syslog.conf -n openshift-logging
171171
----
172172
+
173173
The Cluster Logging Operator redeploys the Fluentd Pods. If the Pods do not redeploy, you can delete the Fluentd

0 commit comments

Comments
 (0)