Creating custom beat, "make package" fails with "make: *** No rule to make target 'package'. Stop."

I am trying to create a custom beat using the guide https://www.elastic.co/guide/en/beats/devguide/current/new-beat.html and am unable to package it. Ideally the command "make package" should do the job but it is failing with error:
make: *** No rule to make target 'package'. Stop.
Please help

Can you try using one of these and see if it works:

  • make release
  • make snapshot - This is like release but appends -SNAPSHOT to the version.

After executing "make release", when I go to build/package/ , I see folders with extensions .tar.gz , .deb etc. Shouldn't these be executables instead of folders.

What about in build/distributions?

Got the file. Executable worked like a charm. Thanks a lot. Had been struggling since long.

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