[Filebeat] "Configured paths: ... " log printed twice every time

Hello,

I'm trying to upgrade filebeat daemonsets in my kubernetes cluster from 7.5.0 to 7.8.0 to fix some bugs. While evaluating new version, I found an issue in the filebeat log.

    2020-07-09T11:15:26.303Z    INFO    log/input.go:152    Configured paths: [/var/lib/docker/containers/e6582c1fce29bbbd6debe0095f9b46f7f9bf60ab47cb1f8b13f6dda0fedcd1ae/*-json.log]
    2020-07-09T11:15:26.303Z    INFO    log/input.go:152    Configured paths: [/var/lib/docker/containers/e6582c1fce29bbbd6debe0095f9b46f7f9bf60ab47cb1f8b13f6dda0fedcd1ae/*-json.log]
    2020-07-09T11:15:26.304Z    INFO    log/input.go:152    Configured paths: [/var/lib/docker/containers/47b75d0cc2fd5a0ced67746e2480b2925152646c3a543d2f71ff5a7a3befe7e1/*-json.log]
    2020-07-09T11:15:26.304Z    INFO    log/input.go:152    Configured paths: [/var/lib/docker/containers/47b75d0cc2fd5a0ced67746e2480b2925152646c3a543d2f71ff5a7a3befe7e1/*-json.log]

As you can see in the sample log above, 'Configured paths: ' log printed twice every time. Although I believe adding configured paths multiple times should be fine, I just wanted to make sure if there is anything bad.

Below is the upper parts (providers config) of filebeat.yaml

    apiVersion: v1
    data:
      filebeat.yml: |-
        filebeat.autodiscover:
          providers:
            - type: kubernetes
              host: ${NODE_NAME}
              include_annotations: ~
              include_labels: ~
              labels.dedot: true
              templates:
                - condition:
                    equals:
                      kubernetes.labels.logging_enabled: "true"
                  config:
                    - type: container
                      paths:
                        - "/var/lib/docker/containers/${data.kubernetes.container.id}/*-json.log"
                      scan_frequency: "3s" # default: 10s

Also, I've tested other versions. This issue only happens in 7.8.0 and it wasn't happened until 7.7.1.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.