hi there, I'm trying to compile myself filebeat after adding a custom http output plugin: I've followed
and then I've added a new folder with my pluing into
src/github.com/elastic/beats/libbeat
now I can compile filebeat, but when it runs the new output plugin is not found (Exiting: error initializing publisher: output type http undefined).
The init() method of my plugin is not called.
What am I missing? Do I need to declare the new plugin somewhere?
The plugin is found if I import it in filebeat main.go, but how can I avoid that? How can I get the same behavior of standard output plugins (ex. elasticsearch)?