# Build a new filebeat

**URL:** <https://discuss.elastic.co/t/build-a-new-filebeat/152159>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 12, 2018, 5:47am UTC](https://discuss.elastic.co/t/build-a-new-filebeat/152159 "2018-10-12T05:47:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Badb0y](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@Badb0y](https://discuss.elastic.co/u/Badb0y)\
**Post date:** [October 12, 2018, 5:47am UTC](https://discuss.elastic.co/t/build-a-new-filebeat/152159/1 "2018-10-12T05:47:38Z")

</div>

Hi,

I'd like to build a specific filebeat for our team.  
We have many team in the company and all team wants to have their own filebeat so if a reinstall happens we will not overwrite their configs and don't touch any of theirs.

I'd like to build like an infra-filebeat package.

How I can do, what I have to be careful and how to do?

Which one is the easies way to do it, change the home directory,name etc ... I just want to run multiple filebeat 🙂

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [October 16, 2018, 8:42pm UTC](https://discuss.elastic.co/t/build-a-new-filebeat/152159/2 "2018-10-16T20:42:31Z")

</div>

So your team maintains a fork of filebeat?

First of all you need to setup a [Go Development Environment](https://golang.org/doc/install) and configure GOPATH. Next checkout the Beats repository as Documented [here](https://www.elastic.co/guide/en/beats/devguide/current/newbeat-getting-ready.html#newbeat-getting-ready). Switch to `$GOPATH/src/github.com/elastic/beats/filebeat` and run `make`.

---

<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:** [November 13, 2018, 8:42pm UTC](https://discuss.elastic.co/t/build-a-new-filebeat/152159/3 "2018-11-13T20:42:34Z")

</div>

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