ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Running Filebeat on ARM

    IT Discussion
    filebeat arm raspian raspberry pi 3b+
    5
    11
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NetworkNerdN
      NetworkNerd
      last edited by

      I'd like to take advantage of Filebeat on my Raspberry Pi 3B+ (currently running the latest version of Raspbian) to send logs to an external system, but from everything I have read, there is no package for it for ARM (unless you run ArchLinux, that is). This post from the Elastic community states they do not officially support ARM.

      I found this blog someone wrote about building Filebeat from scratch so it would work on ARM, so if I go for it, I would follow their steps and just make necessary tweaks for newer versions of go, etc. The author shows how to build Filebeat for ARM and then how to install and configure, but the interesting thing in my opinion is that there was no mention of how well Filebeat worked long term.

      Has anyone here gone through the process and had it work out well? For reference, the repo for Filebeat is here. I'd appreciate any thoughts / feedback.

      1 Reply Last reply Reply Quote 1
      • JaredBuschJ
        JaredBusch
        last edited by

        But building something gets complicated because you will have to deal with rebuilding it on kernel changes I do believe.

        Can you not find any other way to get the data off this system?

        NetworkNerdN 1 Reply Last reply Reply Quote 1
        • NetworkNerdN
          NetworkNerd @JaredBusch
          last edited by NetworkNerd

          @JaredBusch said in Running Filebeat on ARM:

          But building something gets complicated because you will have to deal with rebuilding it on kernel changes I do believe.

          Can you not find any other way to get the data off this system?

          Oh man, that's a point I had not considered.

          I thought about trying the Splunk Universal Forwarder as an option but had not signed up for Splunk free so I can use it. The back-end system to which I am sending logs (which is not Splunk) can accept logs sent via Raw TCP (which I believe the Splunk Universal Forwarder should do for me) or logs sent using Filebeat.

          IRJI 1 Reply Last reply Reply Quote 0
          • IRJI
            IRJ @NetworkNerd
            last edited by

            @NetworkNerd said in Running Filebeat on ARM:

            @JaredBusch said in Running Filebeat on ARM:

            But building something gets complicated because you will have to deal with rebuilding it on kernel changes I do believe.

            Can you not find any other way to get the data off this system?

            Oh man, that's a point I had not considered.

            I thought about trying the Splunk Universal Forwarder as an option but had not signed up for Splunk free so I can use it. The back-end system to which I am sending logs (which is not Splunk) can accept logs sent via Raw TCP (which I believe the Splunk Universal Forwarder should do for me) or logs sent using Filebeat.

            Wazuh uses filebeat. You could just use a wazuh agent and accomplish the same thing.

            NetworkNerdN 1 Reply Last reply Reply Quote 0
            • NetworkNerdN
              NetworkNerd @IRJ
              last edited by

              @IRJ said in Running Filebeat on ARM:

              @NetworkNerd said in Running Filebeat on ARM:

              @JaredBusch said in Running Filebeat on ARM:

              But building something gets complicated because you will have to deal with rebuilding it on kernel changes I do believe.

              Can you not find any other way to get the data off this system?

              Oh man, that's a point I had not considered.

              I thought about trying the Splunk Universal Forwarder as an option but had not signed up for Splunk free so I can use it. The back-end system to which I am sending logs (which is not Splunk) can accept logs sent via Raw TCP (which I believe the Splunk Universal Forwarder should do for me) or logs sent using Filebeat.

              Wazuh uses filebeat. You could just use a wazuh agent and accomplish the same thing.

              That's a good point, but I don't see ARM support for Wazuh listed in their compatibility matrix unless I've just missed it.

              IRJI 1 Reply Last reply Reply Quote 0
              • IRJI
                IRJ @NetworkNerd
                last edited by

                @NetworkNerd said in Running Filebeat on ARM:

                @IRJ said in Running Filebeat on ARM:

                @NetworkNerd said in Running Filebeat on ARM:

                @JaredBusch said in Running Filebeat on ARM:

                But building something gets complicated because you will have to deal with rebuilding it on kernel changes I do believe.

                Can you not find any other way to get the data off this system?

                Oh man, that's a point I had not considered.

                I thought about trying the Splunk Universal Forwarder as an option but had not signed up for Splunk free so I can use it. The back-end system to which I am sending logs (which is not Splunk) can accept logs sent via Raw TCP (which I believe the Splunk Universal Forwarder should do for me) or logs sent using Filebeat.

                Wazuh uses filebeat. You could just use a wazuh agent and accomplish the same thing.

                That's a good point, but I don't see ARM support for Wazuh listed in their compatibility matrix unless I've just missed it.

                It appears to be supported. This is from 3.8.0 release notes

                61841e4d-5253-4298-be15-05b6226d07e6-image.png

                scottalanmillerS 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @IRJ
                  last edited by

                  @IRJ could be unsupported officially, but they still want to make it work.

                  IRJI 1 Reply Last reply Reply Quote 0
                  • IRJI
                    IRJ @scottalanmiller
                    last edited by

                    @scottalanmiller said in Running Filebeat on ARM:

                    @IRJ could be unsupported officially, but they still want to make it work.

                    If you use wazuh, the ARM device would not use filebeat. It would be done from wazuh server. All ARM client would do is submit its logs on 1514 UPD

                    1 Reply Last reply Reply Quote 0
                    • FiyaFlyF
                      FiyaFly
                      last edited by

                      I think my approach to this would be this: Keep your endpoints simple.

                      Take a look at what the system comes with. From a quick check, I'm almost certain both CentOS and Fedora ship with rsyslog, which would lead me to believe that the Pi would have that or something very similar. If not, rsyslog does at least have an ARM package.

                      That native syslog package should almost certainly have the capability to send it's messages (or generally any you might want to specify) to a remote server. I would configure that to push out to a remote server of your choice and do any parsing, filtering, or manipulating server-side. That way you don't have to worry about keeping a package up to date, or ensuring you have a system/application specific configuration. The generic config you'll end up with can, in theory, be applied to anything running linux.

                      Hope this helps.

                      JaredBuschJ 1 Reply Last reply Reply Quote 1
                      • JaredBuschJ
                        JaredBusch @FiyaFly
                        last edited by

                        @FiyaFly said in Running Filebeat on ARM:

                        Take a look at what the system comes with. From a quick check, I'm almost certain both CentOS and Fedora ship with rsyslog, which would lead me to believe that the Pi would have that or something very similar. If not, rsyslog does at least have an ARM package.

                        Pi runs Debian.

                        FiyaFlyF 1 Reply Last reply Reply Quote 0
                        • FiyaFlyF
                          FiyaFly @JaredBusch
                          last edited by

                          @JaredBusch said in Running Filebeat on ARM:

                          @FiyaFly said in Running Filebeat on ARM:

                          Take a look at what the system comes with. From a quick check, I'm almost certain both CentOS and Fedora ship with rsyslog, which would lead me to believe that the Pi would have that or something very similar. If not, rsyslog does at least have an ARM package.

                          Pi runs Debian.

                          Yeah, I don't have any debian-based systems I can check right now, but I know it still has the mechanism built-in. Just might not be rsyslog.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post