elastic / beats-packer

DEPRECATED: Moved to https://github.com/elastic/beats/tree/master/dev-tools/packer
18 stars 16 forks source link

Add ARM packages #43

Open tsg opened 8 years ago

tsg commented 8 years ago

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.

robin13 commented 8 years ago

+1

jakommo commented 8 years ago

:+1:

mussi commented 8 years ago

+1

kai5263499 commented 8 years ago

+1

pulzpulz commented 8 years ago

+1

jaredmcqueen commented 8 years ago

+1

TobiMarg commented 7 years ago

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).

emaayan commented 7 years ago

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

arqtv commented 7 years ago

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

andig commented 6 years ago

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?

VladoPortos commented 6 years ago

+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 :( )

jakommo commented 6 years ago

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

andig commented 6 years ago

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

VladoPortos commented 6 years ago

@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...

andig commented 6 years ago

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

calston commented 6 years ago

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".

emaayan commented 6 years ago

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 notifications@github.com 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 .

ruflin commented 6 years ago

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.

jakommo commented 6 years ago

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

calston commented 6 years ago

@jakommo Handy! Thanks.

markwalkom commented 6 years ago

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 :)

ruflin commented 6 years ago

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

markwalkom commented 6 years ago

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

ruflin commented 6 years ago

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

markwalkom commented 6 years ago

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

ruflin commented 6 years ago

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/