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

[release-5.8] No log_forwarder_output_info for splunk and google logging

    • False
    • None
    • False
    • NEW
    • NEW
    • Before this update splunk and google cloud logging was not included in the log_forwarder_output_info metric. This update resolves the issue.
    • Bug Fix
    • Log Collection - Sprint 237
    • Moderate

      Description of problem:

      log_forwarder_output_info:

       

      {
        "metric": {
          "__name__": "log_forwarder_output_info",
          "cloudwatch": "0",
          "default": "0",
          "elasticsearch": "0",
          "endpoint": "http-metrics",
          "fluentdForward": "0",
          "instance": "10.128.2.18:8686",
          "job": "cluster-logging-operator-metrics",
          "kafka": "0",
          "loki": "0",
          "namespace": "openshift-logging",
          "pod":"cluster-logging-operator-558fbdd69c-swk9p",
          "service": "cluster-logging-operator-metrics",
          "syslog": "0"
        },
        "value": [
          1680831975.118,
          "1"
        ]
      }
      
      

       

      Steps to Reproduce:

      1. Check the log_forwarder_output_info     
      token=$(oc create token  prometheus-k8s -n openshift-monitoring)
      pod=$(oc get pods -o name |head -1)
      route=$(oc get route -n openshift-monitoring prometheus-k8s -ojsonpath={.spec.host})
      oc exec $pod -- curl -k -s -H "Authorization: Bearer $token" "https://${route}/api/v1/query?" --data-urlencode "query=log_forwarder_output_info" | jq '.data.result'
      

       

       Expected Result:

      Metrics include  items Splunk and Google Cloud logging 

       "metric": {
          "__name__": "log_forwarder_output_info",
          "cloudwatch": "0",
          "default": "0",
          "elasticsearch": "0",
          "fluentdForward": "0",
          "syslog": "0",
          "kafka": "0",
          "loki": "0",
          "splunk": "0",
          "gcp logging": "0",
          "namespace": "openshift-logging",
          "pod":"cluster-logging-operator-558fbdd69c-swk9p",
          "endpoint": "http-metrics",
          "service": "cluster-logging-operator-metrics",
          "instance": "10.128.2.18:8686",
          "job": "cluster-logging-operator-metrics"
       }
      

            [LOG-4173] [release-5.8] No log_forwarder_output_info for splunk and google logging

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Logging Subsystem 5.8.0 - Red Hat OpenShift), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHBA-2023:6139

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Logging Subsystem 5.8.0 - Red Hat OpenShift), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6139

            This issue requires Release Notes Text. Please modify the Release Note Text or set the Release Note Type to "None"

            Jeffrey Cantrill added a comment - This issue requires Release Notes Text. Please modify the Release Note Text or set the Release Note Type to "None"

            CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Collection Midstream on branch openshift-logging-5.8-rhel-9_upstream_dc0e75b5e7d5893642359d972cac2117:

            Updated US source to: 6eaed5d Merge pull request #2032 from Clee2691/telemetry

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-logging / Log Collection Midstream on branch openshift-logging-5.8-rhel-9_ upstream _dc0e75b5e7d5893642359d972cac2117 : Updated US source to: 6eaed5d Merge pull request #2032 from Clee2691/telemetry

              rh-ee-calee Calvin Lee
              rhn-support-anli Anping Li
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: