# Filebeat ships only the first path mentioned from filebeat.yml

**URL:** <https://discuss.elastic.co/t/filebeat-ships-only-the-first-path-mentioned-from-filebeat-yml/262388>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 27, 2021, 3:35pm UTC](https://discuss.elastic.co/t/filebeat-ships-only-the-first-path-mentioned-from-filebeat-yml/262388 "2021-01-27T15:35:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranjini](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@ranjini](https://discuss.elastic.co/u/ranjini)\
**Post date:** [January 27, 2021, 3:35pm UTC](https://discuss.elastic.co/t/filebeat-ships-only-the-first-path-mentioned-from-filebeat-yml/262388/1 "2021-01-27T15:35:48Z")

</div>

Please find my filebeat conf.

```auto
################### Filebeat Configuration Example ###################
# filebeat config for dco project #
############################# Filebeat ###############################

filebeat.inputs:
- type: log
  paths:
    - /var/test1.log
  enabled: true
  fields:
    tags: test
    environment: abcd
  fields_under_root: true

- type: log
  paths:
    - /var/test2.log
  enabled: true
  fields:
    tags: dxlstart
    environment: abcd
  fields_under_root: true

- type: log
  paths:
    - /var/test3.log
  enabled: true
  fields:
    tags: pxlipe
    environment: abcd
  fields_under_root: true
  
filebeat.registry.path: '/var/lib/filebeat/.registry'

output.logstash:
  hosts: ["XXXXXXXXX.local:5044"]
  key: "abcd-dco"
  db: 0
  db_topology: 1
  timeout: 5
  reconnect_interval: 1
shipper:
logging:
  to_syslog: false
  to_files: true
  files:
    path: /var/log/filebeat
    name: filebeat.log
    rotateeverybytes: 10485760 # = 10MB
    keepfiles: 7
  level: debug

```

No error in filebeat.log.but ships only the first path.

---

<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:** [February 24, 2021, 5:35pm UTC](https://discuss.elastic.co/t/filebeat-ships-only-the-first-path-mentioned-from-filebeat-yml/262388/2 "2021-02-24T17:35:55Z")

</div>

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