# GenerateCustomBeat

**URL:** https://discuss.elastic.co/t/generatecustombeat/219059
**Category:** Beats
**Created:** [February 12, 2020, 6:06pm UTC](https://discuss.elastic.co/t/generatecustombeat/219059 "2020-02-12T18:06:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DWbank](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@DWbank](https://discuss.elastic.co/u/DWbank)
#### Post date: [February 12, 2020, 6:06pm UTC](https://discuss.elastic.co/t/generatecustombeat/219059/1 "2020-02-12T18:06:48Z")

</div>

I have been trying to figure out how to set up dev environment for a few days now. The documentation is to say the least confusing.

When I get to the point mage GenerateCustomBeat I get this error

> No .go files marked with the mage build tag in this directory

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

### Author: ![Henry\_Pak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henry_pak/32/54995_2.png) [@Henry\_Pak](https://discuss.elastic.co/u/Henry_Pak)
#### Post date: [February 25, 2020, 2:40am UTC](https://discuss.elastic.co/t/generatecustombeat/219059/2 "2020-02-25T02:40:00Z")

</div>

The documentation needs to be updated, but the "mage GenerateCustomBeat" command needs to be run from the beats directory that you cloned from GitHub ([https://www.elastic.co/guide/en/beats/devguide/current/beats-contributing.html#setting-up-dev-environment](https://www.elastic.co/guide/en/beats/devguide/current/beats-contributing.html#setting-up-dev-environment)). The command should then prompt you for inputs and skeleton code should be generated for you in a directory according to those inputs.

There is already a GH issue to address this documentation shortcoming ([https://github.com/elastic/beats/issues/14409](https://github.com/elastic/beats/issues/14409)) and hopefully it will be fixed soon.

---

<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: [March 24, 2020, 4:40am UTC](https://discuss.elastic.co/t/generatecustombeat/219059/3 "2020-03-24T04:40:04Z")

</div>

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