Something you might be interested in is that journalctl (systemd's logger) can output real time logs in a format for server-sent-events (journalctl -o json-sse) so with a minimal bash http wrapper you can get realtime logs from most linux systems into your app.