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

[Vector] Forwarder does not handle input namespace selectors.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • Logging 5.4.0
    • None
    • Log Collection
    • None
    • Logging (Core) - Sprint 214

      Create a CLF instances with:

      apiVersion: logging.openshift.io/v1
      kind: ClusterLogForwarder
      metadata:
        name: instance
        namespace: openshift-logging
      spec:
        inputs:
        - name: my-app
          application:
            namespaces: [chat]
        outputs:
        - name: kafka
          type: kafka
          url: tcp://my-cluster-kafka-bootstrap.kafka.svc.cluster.local:9093/my-topic
        pipelines:
        - inputRefs: [my-app]
          outputRefs: [kafka]
       

       

      The vector collector crash loops (fails to start) with:

      Feb 16 21:41:14.935  INFO vector::app: Log level is enabled. level="debug"
      Feb 16 21:41:14.935  INFO vector::sources::host_metrics: PROCFS_ROOT is unset. Using default '/proc' for procfs root.
      Feb 16 21:41:14.935  INFO vector::sources::host_metrics: SYSFS_ROOT is unset. Using default '/sys' for sysfs root.
      Feb 16 21:41:14.935  INFO vector::app: Loading configs. path=[("/etc/vector/vector.toml", Some(Toml))]
      Feb 16 21:41:14.938 ERROR vector::cli: Configuration error. error=Input "my-app" for transform "pipeline_0_" doesn't exist.
       

              vimalkum@redhat.com Vimal Kumar
              rhn-engineering-aconway Alan Conway
              Ishwar Kanse Ishwar Kanse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: