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"]
- C:\logpath*.log
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 this