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

Infra container input types do not exclude infra logging

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Before this change, defining and infrastructure input type did not exclude logging workloads from collection. This fixes that by excluding logging services to avoid feedback loops
    • Bug Fix
    • Log Collection - Sprint 251, Log Collection - Sprint 252, Log Collection - Sprint 253

      Description of problem:

      Configuration a CLF with an infrastructure input that collects infra containers does not exclude logging infra from collection

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

      How reproducible:

      Steps to Reproduce:

      1. Create a CLF with input.infrastructure.sources=container

      Actual results:

      Note `include_paths_glob_patterns = ["/var/log/pods/default_*/*/*.log", "/var/log/pods/kube*_*/*/*.log", "/var/log/pods/openshift*_*/*/*.log"]`

      Expected results:

      exclude_paths_glob_patterns = ["/var/log/pods/*/*/*.gz", "/var/log/pods/*/*/*.tmp", "/var/log/pods/openshift-logging_*/gateway/*.log", "/var/log/pods/openshift-logging_*/loki*/*.log", "/var/log/pods/openshift-logging_*/opa/*.log", "/var/log/pods/openshift-logging_elasticsearch-*/*/*.log", "/var/log/pods/openshift-logging_kibana-*/*/*.log", "/var/log/pods/openshift-logging_logfilesmetricexporter-*/*/*.log"]

      Additional info:

              jcantril@redhat.com Jeffrey Cantrill
              jcantril@redhat.com Jeffrey Cantrill
              Qiaoling Tang Qiaoling Tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: