# Unable to build custom beat without github

**URL:** <https://discuss.elastic.co/t/unable-to-build-custom-beat-without-github/231221>\
**Category:** Beats\
**Tags:** beats-development\
**Created:** [May 5, 2020, 9:03pm UTC](https://discuss.elastic.co/t/unable-to-build-custom-beat-without-github/231221 "2020-05-05T21:03:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![visasimbu](https://avatars.discourse-cdn.com/v4/letter/v/4491bb/32.png) [@visasimbu](https://discuss.elastic.co/u/visasimbu)\
**Post date:** [May 5, 2020, 9:03pm UTC](https://discuss.elastic.co/t/unable-to-build-custom-beat-without-github/231221/1 "2020-05-05T21:03:07Z")

</div>

Step 1: I have cloned beat ([https://github.com/elastic/beats](https://github.com/elastic/beats)) and added my custom logic. My custom logic has update in the given file (src\[github.com](http://github.com)\somegithub\iibbeat\beater\iibbeat.go) and I have added new folder(mqsi) with one go file.

```auto
src\github.com\somegithub\iibbeat
   |->mqsi
        |->PullInfo.go

```

then I have committed my changes  
Step 2:

```auto
git add --all
git commit

```

Step 3:  
executed `mage build` this resulted me with below prompt

[machineuser@mymachine iibbeat]$ mage build  
Username for '[https://github.com](https://github.com)':

My query is I could not use github from my organization machine.  
How can I avoid git hub (Public/Private) for my custom beat build and testing ?

Note : I am able to build and run the custom beat without my custom logic. When there is no custom logic, `mage build` command is not prompting me for the git username.

---

<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 2, 2020, 9:03pm UTC](https://discuss.elastic.co/t/unable-to-build-custom-beat-without-github/231221/2 "2020-06-02T21:03:19Z")

</div>

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