Can I Reduce FileBeat Executeable File Size By Config Something or Comment Something Before build?

I unpack all versions of the filebeat-${version}-x86_64.rpm and stats the size of Executeable Files.

I found that after some break changes in version 6.0.0, the size of the Executeable File Jump to 45M from 16M(size of version 5.6.16),and now it grows to 94M(size of version 7.12.0).

it is a little big for me , can I make the file smaller by reduce some functions in src or some config files ?

for example:
i don't need redis , kafka,elasticsearch,fileout,redis output ,so i comment them in src
"/src/github.com/elastic/beats/libbeat/publisher/includes/includes.go"(version 7.12.0),the dist file only reduce to 84M,but it still too big for me.

is there any deep reduce method ?

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