Is there a best practice on how to distribute custom beats Sources, including the right Golang dependencies?
Right now, it is kind of hard, because of Beats library having complex build mechanism. It gives a nice bolerplate; So you have your code under ./config and ./beater, and it all just works.
Then trying to ./vendor elastic/beats does not just work; on Github there is quite a few custom beats, they all have some "instructions" (first clone the beat, then clone elastic/beats of the righ version, then copy it somewhere, and then it all fails to import some dependency or another). And looks like copying the entire thing gives you Metricbeat, FIlebeat, and what not.
Is there a way to vendor just the necessary dependencies and still have an automatic build? Any tools that people use? I have tried just running the Google 'dep' tool on my custom beat tree, but it fails to create correct ./vendor somehow.
Thank you very much in advance!
University of Manitoba / Westgrid