Custom Metric Beat Packaging Issue

Hello,
I created a new beat based on metricbeat. I have followed the instructions and able to build and debug beat successfully . All works as expected.

When i try to package the beat using "make release", the generated packages doesn't have modules.d directory and respective ym file in it. Apparently all package process run smoothely

Any help would be appreciated.

Thanks!

Hi @nabeel_ahmed!

Do you use an updated Beat upstream?
Since you run the process that is described in the logs, I suspect this could be a bug. I would say that you can report it with a GH issue mentioning the versions and what you see.

Hi @ChrsMark,

This is the make command to build the beat, including commit id
go build -i -ldflags "-X github.com/elastic/beats/v7/libbeat/version.buildTime=2020-05-07T10:07:05Z -X github.com/elastic/beats/v7/libbeat/version.commit=f182edc387d73520e22534cc83a46b1a1a77b9ab"

Okay will report an issue on GH

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