-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filebeat dynamically linked #960
Comments
This is related to elastic/beats-packer#23 |
@cleesmith, use the command line tool Yes, it possible. If you build it yourself it will be statically linked. See CONTRIBUTING for how to build. |
Thanks all. I was able to compile locally and it is static. |
@cleesmith There were quite a few improvements on filebeat and libbeat side since then. Let us know if you get stuck updating and need some help. I'm now also watching your repo and this issue here: cleesmith/unifiedbeat#3 |
@ruflin thank you. I really need to re-think how to best reuse filebeat. Both unifiedbeat and filebeat do almost the same thing but with different files/data. It would also be nice to have a way to only "tail" and read from the most recent file ... and not to continue watching/harvesting from files that will never have any new data added to them ... I think that is where the excessive cpu usage comes from, I think. |
Have a look here at the close_older option which was introduced: #718 |
This produces statically linked binaries for Filebeat and Winlogbeat (which don't use CGo) by using simple cross compilation, without Cgo enabled. The advantage of the statically linked binaries is that they tend to be more portable. Closes elastic#960. Also get rid of the duplication between the build scripts between xgo-image and xgo-image-deb6.
This produces statically linked binaries for Filebeat and Winlogbeat (which don't use CGo) by using simple cross compilation, without Cgo enabled. The advantage of the statically linked binaries is that they tend to be more portable. Closes #960. Also get rid of the duplication between the build scripts between xgo-image and xgo-image-deb6.
When I download Filebeat 1.1.0 LINUX 64-BIT and do
file filebeat
:What are the shared libs it's depending on?
Is it possible to be statically linked?
The text was updated successfully, but these errors were encountered: