Please help: Create new beats

Hello elastic community.

I am starting off a project around Beats and trying to first setup my environment.
I followed the steps on:

But the result was:

RAFAELB-MAC:indellient rafaelb$ python $GOPATH/src/
Beat Name [Examplebeat]: Awesomebeat
Your Github Name [your-github-name]: rafaelbattesti
Beat Path []:
Firstname Lastname: Rafael Battesti
RAFAELB-MAC:indellient rafaelb$ cd awesomebeat/
RAFAELB-MAC:awesomebeat rafaelb$ python --version
Python 2.7.10
RAFAELB-MAC:awesomebeat rafaelb$ virtualenv --version
RAFAELB-MAC:awesomebeat rafaelb$ make setup
mkdir -p vendor/
cp -R /Users/rafaelb/Go/src/ vendor/
rm -rf vendor/ vendor/
mkdir -p vendor/
cp -R /Users/rafaelb/Go/src/ vendor/
git init
Initialized empty Git repository in /Users/rafaelb/Go/src/
/Applications/ -f ./vendor/ mage
./vendor/ ../dev-tools/make/ No such file or directory
make[1]: *** No rule to make target `../dev-tools/make/'.  Stop.
make: *** [pre-setup] Error 2


RAFAELB-MAC:awesomebeat rafaelb$ go version
go version go1.11.2 darwin/amd64
RAFAELB-MAC:awesomebeat rafaelb$ echo $GOPATH
RAFAELB-MAC:awesomebeat rafaelb$ echo $PATH
RAFAELB-MAC:awesomebeat rafaelb$



  1. Manually install magefile
    $ go get

  2. Change path in

Instead of:
ES_BEATS?=..## @community_beat Must be set to ./vendor/ It must always be a relative path.

ES_BEATS?=vendor/ @community_beat Must be set to ./vendor/ It must always be a relative path.

Make sure you leave no spaces between beats and ##. This was causing make setup to fail such as below.

make[1]: *** vendor/ Is a directory.  Stop.
make: *** [pre-setup] Error 2

Make implementation:

RAFAELB-MAC:awesomebeat rafaelb$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

This program built for i386-apple-darwin11.3.0
1 Like

It would be nice if the documentation could be updated to address this. Attempting to build a new beat on CentOS 7 fails using the current guide.

It's also still failing to make the community Beat. I believe there are changes to the code which should be addressed.

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