# Share filebeat config file between filebeats instance

**URL:** <https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 1, 2017, 11:40am UTC](https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895 "2017-06-01T11:40:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteelCrow](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@SteelCrow](https://discuss.elastic.co/u/SteelCrow)\
**Post date:** [June 1, 2017, 11:40am UTC](https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895/1 "2017-06-01T11:40:09Z")

</div>

Hi, guys!

I'm just curious, does anyone try to share config file between \*beat instance.

Fo exmaple I try to change config path in windows service:  
-path.data "\\10.254.23.58\filebeat.yaml" but it seems isn't working...

- Win 7 x64 Latest update
- Filebeat 5.4

Any solutions for this kind of problem? (Not only changing path in service)

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 2, 2017, 1:33am UTC](https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895/2 "2017-06-02T01:33:29Z")

</div>

The config file location is controlled by the `-c` flag, not `-path.data`.

But using a config file that's located on the network creates an implicit dependency on the network. This is less than ideal because the network my not be available when the process launches.

---

<div class="post-metadata">

**Author:** ![SteelCrow](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@SteelCrow](https://discuss.elastic.co/u/SteelCrow)\
**Post date:** [June 2, 2017, 5:58am UTC](https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895/3 "2017-06-02T05:58:44Z")

</div>

If I have about 3k of computers, do I have to solve my problem of distribution config file with another software?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 2, 2017, 2:38pm UTC](https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895/4 "2017-06-02T14:38:55Z")

</div>

How are you distributing Filebeat to the machines? I would integrate the configuration with the installation. Most commonly I see tools like Ansible, Puppet, or Chef used to manage the configuration of machines.

---

<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:** [June 30, 2017, 2:39pm UTC](https://discuss.elastic.co/t/share-filebeat-config-file-between-filebeats-instance/87895/5 "2017-06-30T14:39:05Z")

</div>

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