I have been using rsyslogd as the log forwarder, but I would prefer to use filebeat (and metricbeat). However, arm64/aarch64 is not being built as a standard platform. I installed go, and downloaded v7.6 of beats, but I'm running into compile issues. I suspect these are some sort of settings or environment variables. The error is shown below:
sst@sstgateway:~/go/src/github.com/elastic/beats/filebeat$ make filebeat
go build -ldflags "-X github.com/elastic/beats/libbeat/version.buildTime=2020-04-09T23:23:18Z -X github.com/elastic/beats/libbeat/version.commit=d57bcf8684602e15000d65b75afcd110e2b12b59"
../libbeat/common/file/helper_other.go:28:6: SafeFileRotate redeclared in this block
previous declaration at ../libbeat/common/file/helper_aix.go:26:44
make: *** [../libbeat/scripts/Makefile:122: filebeat] Error 2
It appears to be trying to compile two mutually exclusive files for different operating systems (AIX and Linux). I have gone through the GO environment variables, and they should be correct, but clearly something is amiss. Any help would be gratefully appreciated. I am building this on the target machine.