# Two filbert.yml file

**URL:** https://discuss.elastic.co/t/two-filbert-yml-file/139955
**Category:** Beats
**Tags:** filebeat
**Created:** [July 13, 2018, 1:37pm UTC](https://discuss.elastic.co/t/two-filbert-yml-file/139955 "2018-07-13T13:37:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fconcha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fconcha/32/41151_2.png) [@fconcha](https://discuss.elastic.co/u/fconcha)
#### Post date: [July 13, 2018, 1:37pm UTC](https://discuss.elastic.co/t/two-filbert-yml-file/139955/1 "2018-07-13T13:37:48Z")

</div>

Hello all,  
a question:  
can I create two files filebeat.yml on the same machine (both are here: /etc/filebeat/) and each one sent the same information but to different logstash?  
(not as loadbalancer)

regards  
Felipe

---

<div class="post-metadata">

### Author: ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)
#### Post date: [July 13, 2018, 3:03pm UTC](https://discuss.elastic.co/t/two-filbert-yml-file/139955/2 "2018-07-13T15:03:51Z")

</div>

Hi @fconcha,

You can have run filebeat instances on the same host, but they need to use a different data path. If you want them to share the same configuration, you can override the data path with the `--path.data <path>` flag. And if you need to override additional settings like the logstash host, you can do it for example with `-E output.logstash.hosts=['<host>:<port>']`.

Out of curiosity, why do you need this architecture?

---

<div class="post-metadata">

### Author: ![fconcha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fconcha/32/41151_2.png) [@fconcha](https://discuss.elastic.co/u/fconcha)
#### Post date: [July 14, 2018, 8:29pm UTC](https://discuss.elastic.co/t/two-filbert-yml-file/139955/3 "2018-07-14T20:29:39Z")

</div>

Thanks for your answer, could you be a little more specific.

I need it because I want to send information to a central ELK server and also send the same information to another local server to which other people will have access.

Regards,  
Felipe

---

<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: [August 11, 2018, 8:29pm UTC](https://discuss.elastic.co/t/two-filbert-yml-file/139955/4 "2018-08-11T20:29:40Z")

</div>

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