GenerateCustomBeat

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

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). 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) and hopefully it will be fixed soon.

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