# How to start multiple instances of filebeat in same host (Windows Server)?

**URL:** <https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 18, 2020, 3:57pm UTC](https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827 "2020-02-18T15:57:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Incauto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/incauto/32/60149_2.png) [@Incauto](https://discuss.elastic.co/u/Incauto)\
**Post date:** [February 18, 2020, 3:57pm UTC](https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827/1 "2020-02-18T15:57:48Z")

</div>

I have downloaded the filebeat-7.6.0-windows-x86\_64.zip file.

Do I need to unzip the file in two different directories with a different name?  
Do I need to change the name of one of the executables (filebeat.exe, filebeat2.exe)?  
Do I need to change the name of one of the filebeat.yml (filebeat.yml, filebeat2.yml)?  
In each filebeat.yml I need to specfify a diferent registry path for each instance (filebeat.registry.path: registry)?

To run each instance I need to execute them like this?

```auto
.\filebeat.exe -c filebeat.yml
.\filebeat2.exe -c filebeat2.yml

```

Is there another things that I need to do?

Thanks!

---

<div class="post-metadata">

**Author:** ![ahmed\_charafouddine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmed_charafouddine/32/45129_2.png) [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)\
**Post date:** [February 18, 2020, 4:00pm UTC](https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827/2 "2020-02-18T16:00:24Z")

</div>

Why do you need to launch multiple filebeats?

---

<div class="post-metadata">

**Author:** ![Incauto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/incauto/32/60149_2.png) [@Incauto](https://discuss.elastic.co/u/Incauto)\
**Post date:** [February 18, 2020, 4:04pm UTC](https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827/3 "2020-02-18T16:04:43Z")

</div>

for consuming logs from diferent locations in the same machine, with different configurations, like multiline patterns and exclude lines...

---

<div class="post-metadata">

**Author:** ![ahmed\_charafouddine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmed_charafouddine/32/45129_2.png) [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)\
**Post date:** [February 18, 2020, 4:07pm UTC](https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827/4 "2020-02-18T16:07:06Z")

</div>

You can within a single instance have a lot of input with respective configurations.

---

<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:** [March 17, 2020, 4:07pm UTC](https://discuss.elastic.co/t/how-to-start-multiple-instances-of-filebeat-in-same-host-windows-server/219827/5 "2020-03-17T16:07:16Z")

</div>

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