1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules
Prithviraj Patil 4a7f62efe5 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:
~~~

~~~
2025-01-06 06:27:52 +00:00
..
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-26 12:03:14 +00:00
2024-12-24 16:05:42 +00:00
2024-12-31 07:38:39 +00:00