Filebeat ships only the first path mentioned from filebeat.yml

Please find my filebeat conf.

################### 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.

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