Filebeat is the tool used to forward logs from a client to an ELK server. It can be seen as equivalent to using rsyslog to forward to a syslog server.
I’ve recently finished setting up an ELK server at Rob and I’s apartment, and have been setting VM’s that we run to forward their logs to the server. Last night I got to the Alpine systems we run, which lead a slightly annoying discovery: the filebeat package has not yet made it out of the edge repos.
Thankfully, this is a simple fix. Just uncomment the line that looks like this in
apk add filebeat
Then comment out the line for testing repos and do
apk update again, otherwise half your system will move to testing. Now you are able to configure filebeat and use it as normal.