Commit cba0c7d
authored
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
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments