You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
~~~
~~~
0 commit comments