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

GCP expects certain severity value strings

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Hide
      Before this update, log events with an unknown severity level sent to Google Cloud Logging would trigger a warning in the vector collector, which would then default the severity to 'DEFAULT'. With this update, log severity levels are now standardized to match Google Cloud Logging specifications, and audit logs are assigned a severity of 'INFO'.
      Show
      Before this update, log events with an unknown severity level sent to Google Cloud Logging would trigger a warning in the vector collector, which would then default the severity to 'DEFAULT'. With this update, log severity levels are now standardized to match Google Cloud Logging specifications, and audit logs are assigned a severity of 'INFO'.
    • Bug Fix
    • Log Collection - Sprint 261, Log Collection - Sprint 262

      Description of problem:

      GCP expects certain severity value strings or integers and if unknown will default to `DEFAULT` raising the below warnings in vector.

       

      2024-10-15T10:55:41.863878Z WARN sink{component_kind="sink" component_id=output_gcl component_type=gcp_stackdriver_logs}: vector::sinks::gcp::stackdriver::logs::encoder: Unknown severity value string, using DEFAULT. value=Metadata internal_log_rate_limit=true2024-10-15T10:55:52.044102Z WARN sink{component_kind="sink" component_id=output_gcl component_type=gcp_stackdriver_logs}: vector::sinks::gcp::stackdriver::logs::encoder: Internal log [Unknown severity value string, using DEFAULT.] has been suppressed 1680 times.

      Version-Release number of selected component (if applicable):

      Logging 6.0

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create CLF to GCL

      Actual results:

      2024-10-15T10:55:41.863878Z WARN sink{component_kind="sink" component_id=output_gcl component_type=gcp_stackdriver_logs}: vector::sinks::gcp::stackdriver::logs::encoder: Unknown severity value string, using DEFAULT. value=Metadata internal_log_rate_limit=true2024-10-15T10:55:52.044102Z WARN sink{component_kind="sink" component_id=output_gcl component_type=gcp_stackdriver_logs}: vector::sinks::gcp::stackdriver::logs::encoder: Internal log [Unknown severity value string, using DEFAULT.] has been suppressed 1680 times.

      Expected results:

      No warnings in the collector

      Additional info:

              rh-ee-calee Calvin Lee
              rh-ee-calee Calvin Lee
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: