File beat multiple path to multiple end points

I wanted to grab logs from different path and then will send it to different end points of logstash.
And I am following your official document for the same(https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration-reloading.html).

My root filebeat.yml looks like below:
filebeat.config.inputs:
enabled: true
path: inputs.d*.yml

My inner yml files looks like below:
Dir(C:\beats\filebeat\inputs.d\log1.yml)

  • type: log
    paths:
    • C:\logpath*.log
      multiline:
      pattern: '^[.+]'
      negate: true
      match: after
      max_line: 999
      timeout: 60
      output.logstash:
      hosts: ["mylogstahhost:8080"]

I am running filebeat on windows and my filebeat version is 6.3

When I am trying to start the service it's not getting started. It's failing I am sure I am missing something here. Please let me know how to achieve thisfilebeat

Could you please format the configuration using </>? Please attach debug logs (output of filebeat -e -d "*").

I achieved this by running multiple file beat instances on that host. Thanks !!!

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