beats-packer icon indicating copy to clipboard operation
beats-packer copied to clipboard

Add ARM packages

Open tsg opened this issue 9 years ago • 26 comments

For some of the Beats, namely topbeat and filebeat, linux on ARM would be easy to support, because they have been reported to work already. So what's missing is some sort of packages. We could start with a simple .tar.gz containing the binary and the config file, then we could also look into creating deb packages for Rasbian and the like.

tsg avatar Dec 14 '15 12:12 tsg

+1

robin13 avatar Dec 14 '15 12:12 robin13

:+1:

jakommo avatar Dec 14 '15 15:12 jakommo

+1

mussi avatar Dec 18 '15 21:12 mussi

+1

kai5263499 avatar Jan 21 '16 12:01 kai5263499

+1

pulzpulz avatar Feb 11 '16 17:02 pulzpulz

+1

jaredmcqueen avatar Feb 18 '16 16:02 jaredmcqueen

As there are now nightly builds for ARM available, I think it would be really useful (and probably relatively easy) to do the same for stable builds. Of course, .deb packages would be the next logical step and would make deployment much easier (currently I have to use the nightlies and copy the service file from the stable .deb).

TobiMarg avatar Nov 26 '16 10:11 TobiMarg

+1, as well, does anyone know where i can find the closest nightly build to 5.1.1 release for arm distribution?

emaayan avatar Dec 13 '16 09:12 emaayan

https://beats-nightlies.s3.amazonaws.com/index.html?prefix=jenkins/filebeat/ pick top line 1067-etc

arqtv avatar Dec 15 '16 14:12 arqtv

https://beats-nightlies.s3.amazonaws.com/index.html?prefix=jenkins/filebeat/ pick top line 1067-etc

Seems there are no arm builds anymore- any ideas for raspi3?

andig avatar Dec 16 '17 17:12 andig

+1 this would be so useful, I'm running 10 Rpi, and local hosted log monitoring would be a god send.. there is literally no solution for arm server :( been looking for two days and besides something like netdata I found nothing ( and that one does not do logs as far as I know :( )

VladoPortos avatar Dec 16 '17 21:12 VladoPortos

Not as sleek as a pre-built package, but you can relatively easy cross compile it yourself using these instructions: https://discuss.elastic.co/t/how-to-install-filebeat-on-a-arm-based-sbc-eg-raspberry-pi-3/103670/4

jakommo avatar Dec 18 '17 08:12 jakommo

I've meanwhile managed to compile on a Raspberry Pi3. If there is need for a detailed write-up please let me know.

andig avatar Dec 18 '17 09:12 andig

@andig I would appreciate a detail step by step guide :) ( would use it on rpi and assus tinker board ), technically all I need is filebeat I think, since the elastisearch and the rest is on separate x86 server...

VladoPortos avatar Dec 18 '17 12:12 VladoPortos

My compile instructions can be found here https://gist.github.com/andig/650915e02b18cfe38de6516686977bca, hope they can be useful...

andig avatar Dec 19 '17 22:12 andig

Looks like the nightlies are gone now. Would be nice to get that back, compiling source on a Raspberry Pi is the opposite of "fun".

calston avatar Apr 08 '18 11:04 calston

it would be nice if there was some documented procedure for this..or scripts.

On Sun, Apr 8, 2018 at 3:00 PM, Colin Alston [email protected] wrote:

Looks like the nightlies are gone now. Would be nice to get that back, compiling source on a Raspberry Pi is the opposite of "fun".

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/elastic/beats-packer/issues/43#issuecomment-379544760, or mute the thread https://github.com/notifications/unsubscribe-auth/AMz-sJv9sefWQuoDyj-lXVCDd1RLiPJSks5tmfvFgaJpZM4G0uci .

emaayan avatar Apr 08 '18 12:04 emaayan

I started to work on this PR here some time ago: https://github.com/elastic/beats/pull/6470 This should solve the issue of having an easy command for it and probably also having it in our nightlies again.

ruflin avatar Apr 09 '18 05:04 ruflin

it would be nice if there was some documented procedure for this..or scripts.

Inspired by @andrewkroh discuss post I created a simple docker container a while ago to cross compile for ARM. Just pushed it to github, you can find it here: https://github.com/jakommo/docker-beats-arm-builder

Looking forward to get https://github.com/elastic/beats/pull/6470 merged

jakommo avatar Apr 09 '18 09:04 jakommo

@jakommo Handy! Thanks.

calston avatar Apr 09 '18 09:04 calston

Given https://github.com/elastic/beats/pull/6470 has been merged, are we at a point where we can have auto-compiled packages (even tar.gz) we can put up? Even if it's not an "official" and supported release, and not just the 7.0.0 alpha, it's be super handy.

I'm coming across more ARM architecture these days - networking gear, RPIs, VPC hosts that do ARM only. And if rumours are true, Apple might end up shifting to the processor. Makes sense for us to get ahead of at least the latter if we can :)

markwalkom avatar Jul 08 '18 06:07 markwalkom

We have the arm packages in our beats snapshot builds if that helps: https://beats-package-snapshots.s3.amazonaws.com/index.html

ruflin avatar Jul 09 '18 08:07 ruflin

Thanks @ruflin, I have used those but they are 7.X alpha's and they make me edgy, even if they are stable :)

markwalkom avatar Jul 09 '18 08:07 markwalkom

Got it, so you would be looking for 6.x or event 6.3.1 ones which are not official?

ruflin avatar Jul 09 '18 08:07 ruflin

Ideally yeah. Even if it's in the same snapshot "repo", we are building them anyway so exposing them would be a great step.

markwalkom avatar Jul 09 '18 09:07 markwalkom

It seems at the moment we only have a packaging task on CI for master. We could probably add one too for 6.x: https://beats-ci.elastic.co/job/elastic+beats+master+package/

ruflin avatar Jul 09 '18 12:07 ruflin