Enroll missing

(Kåre Bering) #1

I am trying to create a new metricset with the Metricbeat 6.5.1 i have downloaded the sourcecode from here: https://github.com/elastic/beats/releases I can easily compile the metricbeat but running metricbeat --help shows this:

The Enroll option is missing, and when running the metricbeat 6.5.1 downloaded from https://www.elastic.co/downloads/beats running metricbeat --help shows this:

Does anyone know how I can get the enroll option in the beat that I compile?


(Noémi Ványi) #2

As enroll is an X-Pack feature, you need to compile the binary in beats-6.5.1/x-pack/metricbeat to get it. Otherwise you are just compiling the OSS version of Metricbeat.

(Maury Cupitt) #3

Could you expand on this answer please? The only files I have in x-pack/metricbeat are cmd/root.go and main.go. What do I need to do to get the enroll compiled in?