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

**URL:** <https://discuss.elastic.co/t/filebeat-configured-paths-log-printed-twice-every-time/240518>\
**Category:** Beats\
**Created:** [July 9, 2020, 11:35am UTC](https://discuss.elastic.co/t/filebeat-configured-paths-log-printed-twice-every-time/240518 "2020-07-09T11:35:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wflyer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wflyer/32/71873_2.png) [@wflyer](https://discuss.elastic.co/u/wflyer)\
**Post date:** [July 9, 2020, 11:35am UTC](https://discuss.elastic.co/t/filebeat-configured-paths-log-printed-twice-every-time/240518/1 "2020-07-09T11:35:39Z")

</div>

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.

```auto
    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

```auto
    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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 6, 2020, 1:35pm UTC](https://discuss.elastic.co/t/filebeat-configured-paths-log-printed-twice-every-time/240518/2 "2020-08-06T13:35:42Z")

</div>

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