Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6881

[release-6.3] Forwarder must use hosted cluster_id on HCP cluster

XMLWordPrintable

    • Log Collection - Sprint 268, Log Collection - Sprint 269, Log Collection - Sprint 270, Log Collection - Sprint 271
    • Moderate

      The cluster_id field is needed to collect logs in multi-cluster scenarios and identify the cluster of origin for all log tyeps:

      • application
      • audit (API audit and linux audit)
      • infrastructure

      The log forwarder already adds a cluster_id  field to all log records, the cluster_id is taken from the local cluster API server.

      API Audit logs on HCP clusters  are a special case because they are collected by a forwarder running on the management cluster, so will get the management cluster_id instead of the hosted cluster_id.

      When running in a HCP, the forwarder must use the hosted cluster_id from the HCP API server instead.  CLO should detect this condition automatically without any user configuration changes needed.

              rh-ee-calee Calvin Lee
              sukhegde Sukesha Hegde (Inactive)
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: