# Create new custom Beats, generate.py doesn't generate files/dir

**URL:** https://discuss.elastic.co/t/create-new-custom-beats-generate-py-doesnt-generate-files-dir/187011
**Category:** Beats
**Tags:** beats-development
**Created:** [June 23, 2019, 3:57pm UTC](https://discuss.elastic.co/t/create-new-custom-beats-generate-py-doesnt-generate-files-dir/187011 "2019-06-23T15:57:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![\_Barak\_Harari](https://avatars.discourse-cdn.com/v4/letter/_/58f4c7/32.png) [@\_Barak\_Harari](https://discuss.elastic.co/u/_Barak_Harari)
#### Post date: [June 23, 2019, 3:57pm UTC](https://discuss.elastic.co/t/create-new-custom-beats-generate-py-doesnt-generate-files-dir/187011/1 "2019-06-23T15:57:21Z")

</div>

Hi

i'm using this guide:  
[https://www.elastic.co/guide/en/beats/devguide/current/newbeat-generate.html](https://www.elastic.co/guide/en/beats/devguide/current/newbeat-generate.html)

after this step  
python $GOPATH/src/github.com/elastic/beats/script/generate.py

Beat Name [Examplebeat]: Countbeat  
Your Github Name [your-github-name]: {username}  
Beat Path [[github.com/](http://github.com/){github id}/{beat name}]:  
Firstname Lastname: {Full Name}

script exited without any indication what happened.

i'm working on Ubuntu 18  
python version 2.7.15  
Golang 1.12  
mod enable.

Also tried this old guide

> **[Build your own Beat](https://www.elastic.co/blog/build-your-own-beat)**
>
> Learn how to create a Beat from scratch using Lsbeat as an example.

any suggestion what could get wrong?

Thank.  
Barak

---

<div class="post-metadata">

### Author: ![\_Barak\_Harari](https://avatars.discourse-cdn.com/v4/letter/_/58f4c7/32.png) [@\_Barak\_Harari](https://discuss.elastic.co/u/_Barak_Harari)
#### Post date: [June 23, 2019, 4:02pm UTC](https://discuss.elastic.co/t/create-new-custom-beats-generate-py-doesnt-generate-files-dir/187011/2 "2019-06-23T16:02:18Z")

</div>

also with cookiecutter got this issue on brace 7.1 and 7.2

> [@Not able to create a new Beat](https://discuss.elastic.co/t/not-able-to-create-a-new-beat/73099):
>
> Hello Everyone, I am trying to a custom beat. I have done the installation of Go and cookiecutter. Now when I am trying to execute the below command, it gives following error. "A valid repository for "D:\ELSTACK\CreateBeats\beats\_master\src\[github.com](http://github.com)\elast ic\beats\generate\beat" could not be found in the following locations: D:\ELSTACK\CreateBeats\beats\_master\src\[github.com](http://github.com)\elastic\beats\generate\beat D:\ELSTACK\CreateBeats\beats\_master\src\[github.com](http://github.com)\elastic\beats\generate\beat" cookie…

---

<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: [July 21, 2019, 4:02pm UTC](https://discuss.elastic.co/t/create-new-custom-beats-generate-py-doesnt-generate-files-dir/187011/3 "2019-07-21T16:02:22Z")

</div>

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