# I want to run two filebeat instance in the same directory

**URL:** <https://discuss.elastic.co/t/i-want-to-run-two-filebeat-instance-in-the-same-directory/176370>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 11, 2019, 9:48am UTC](https://discuss.elastic.co/t/i-want-to-run-two-filebeat-instance-in-the-same-directory/176370 "2019-04-11T09:48:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfman](https://avatars.discourse-cdn.com/v4/letter/w/a8b319/32.png) [@wolfman](https://discuss.elastic.co/u/wolfman)\
**Post date:** [April 11, 2019, 9:48am UTC](https://discuss.elastic.co/t/i-want-to-run-two-filebeat-instance-in-the-same-directory/176370/1 "2019-04-11T09:48:14Z")

</div>

i want to run two filebeat instance in the same directory,one using a.yml and the other using b.yml,  
and i use the different register data directories.Other than this,what else should i pay attention to ?

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [April 11, 2019, 12:16pm UTC](https://discuss.elastic.co/t/i-want-to-run-two-filebeat-instance-in-the-same-directory/176370/2 "2019-04-11T12:16:42Z")

</div>

@wolfman That should be fine it you are isolating the config and the data directory.

---

<div class="post-metadata">

**Author:** ![wolfman](https://avatars.discourse-cdn.com/v4/letter/w/a8b319/32.png) [@wolfman](https://discuss.elastic.co/u/wolfman)\
**Post date:** [April 12, 2019, 2:22am UTC](https://discuss.elastic.co/t/i-want-to-run-two-filebeat-instance-in-the-same-directory/176370/3 "2019-04-12T02:22:46Z")

</div>

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:** [May 10, 2019, 2:22am UTC](https://discuss.elastic.co/t/i-want-to-run-two-filebeat-instance-in-the-same-directory/176370/4 "2019-05-10T02:22:52Z")

</div>

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