# File beat multiple path to multiple end points

**URL:** <https://discuss.elastic.co/t/file-beat-multiple-path-to-multiple-end-points/147338>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 5, 2018, 8:26am UTC](https://discuss.elastic.co/t/file-beat-multiple-path-to-multiple-end-points/147338 "2018-09-05T08:26:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasudevan](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@vasudevan](https://discuss.elastic.co/u/vasudevan)\
**Post date:** [September 5, 2018, 8:26am UTC](https://discuss.elastic.co/t/file-beat-multiple-path-to-multiple-end-points/147338/1 "2018-09-05T08:26:58Z")

</div>

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](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 this ![filebeat](https://us1.discourse-cdn.com/elastic/original/3X/7/8/78349afed540e6e201ac212f5c22f06fd743de90.png)

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [September 5, 2018, 10:31am UTC](https://discuss.elastic.co/t/file-beat-multiple-path-to-multiple-end-points/147338/2 "2018-09-05T10:31:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vasudevan](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@vasudevan](https://discuss.elastic.co/u/vasudevan)\
**Post date:** [September 14, 2018, 11:31am UTC](https://discuss.elastic.co/t/file-beat-multiple-path-to-multiple-end-points/147338/3 "2018-09-14T11:31:37Z")

</div>

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

---

<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:** [October 12, 2018, 11:31am UTC](https://discuss.elastic.co/t/file-beat-multiple-path-to-multiple-end-points/147338/4 "2018-10-12T11:31:41Z")

</div>

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