Skip to content

Commit cba0c7d

Browse files
outputRefs value is missing in Forwarding logs over HTTP documentation
- `outputRefs` value is missing in Forwarding logs over HTTP documentation. - Here is the documentation link: https://docs.openshift.com/container-platform/4.16/observability/logging/log_collection_forwarding/configuring-log-forwarding.html#logging-http-forward_configuring-log-forwarding - This `outputRefs` value should be the same as the output name. - It is missing here. - Here is the current configuration: ~~~ apiVersion: logging.openshift.io/v1 kind: ClusterLogForwarder metadata: name: <log_forwarder_name> namespace: <log_forwarder_namespace> spec: serviceAccountName: <service_account_name> outputs: - name: httpout-app type: http url: http: headers: h1: v1 h2: v2 method: POST secret: name: tls: insecureSkipVerify: pipelines: - name: inputRefs: - application outputRefs: - ~~~ - Hence we need to add the `outputRefs` value here. - Here is the correct configuration: ~~~ ~~~
1 parent 061b11f commit cba0c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/logging-http-forward.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
inputRefs:
4141
- application
4242
outputRefs:
43-
- <8>
43+
- httpout-app <8>
4444
----
4545
<1> In legacy implementations, the CR name must be `instance`. In multi log forwarder implementations, you can use any name.
4646
<2> In legacy implementations, the CR namespace must be `openshift-logging`. In multi log forwarder implementations, you can use any namespace.

0 commit comments

Comments
 (0)