1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
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-10 13:22:09 +00:00
2024-11-19 23:12:26 +00:00
2024-11-12 18:31:41 +00:00
2024-11-12 18:31:41 +00:00
2024-11-19 21:11:02 +00:00
2024-12-03 18:47:55 +00:00
2024-12-24 16:05:42 +00:00
2024-12-02 15:10:42 +00:00

= OpenShift Documentation

Welcome to the OpenShift documentation GitHub repository. To contribute to OpenShift docs, see https://github.com/openshift/openshift-docs/blob/master/contributing_to_docs/contributing.adoc
Description
Languages
HTML 33.5%
CSS 24%
Python 23.6%
JavaScript 10.8%
Shell 7%
Other 0.9%