https://github.com/a-sync/filebeat-arm32
Filebeat executable for 32-bit ARM processors
https://github.com/a-sync/filebeat-arm32
32-bit arm filebeat
Last synced: 5 months ago
JSON representation
Filebeat executable for 32-bit ARM processors
- Host: GitHub
- URL: https://github.com/a-sync/filebeat-arm32
- Owner: a-sync
- Created: 2020-08-20T09:25:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T22:00:30.000Z (almost 6 years ago)
- Last Synced: 2025-02-01T10:12:30.038Z (over 1 year ago)
- Topics: 32-bit, arm, filebeat
- Homepage:
- Size: 48.2 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# filebeat ARM 32-bit binary
## Usage
Download the x86 release and replace the `filebeat` executable.
```
wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.9.0-linux-x86.tar.gz
tar xzvf filebeat-7.9.0-linux-x86.tar.gz
rm filebeat-7.9.0-linux-x86.tar.gz
cd filebeat-7.9.0-linux-x86
wget https://github.com/a-sync/filebeat-arm32/raw/7.9.0/build/filebeat -O filebeat
chmod +x filebeat
```
## Build
### Start an immutable Go container for cross-compilation
```
docker run -it --rm -v `pwd`:/build golang:latest /bin/bash
```
### Inside the container
```
go get github.com/elastic/beats
cd /go/src/github.com/elastic/beats/filebeat/
git checkout -b v7.9.0
GOARCH=arm go build
cp filebeat /build
exit
```
### Verify the output file
```
file filebeat
#filebeat: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped
```