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

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

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • OBSDA-344 - Audit log forwarding produces excessive data, configuration for prefiltering is needed
    • NEW
    • Log Collection - Sprint 242, Log Collection - Sprint 243, Log Collection - Sprint 244, Log Collection - Sprint 245, Log Collection - Sprint 246, Log Collection - Sprint 247, Log Collection - Sprint 248, Log Collection - Sprint 249

      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.

              rhn-engineering-aconway Alan Conway
              sukhegde Sukesha Hegde (Inactive)
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: