go-systemd
go-systemd copied to clipboard
CGO free alternative to sdjournal ?
I am looking for a CGO free alternative to sdjournal
This would solve two problems:
- I can avoid the coreos/go-systemd package (unmaintained)
- I can easily build for arm.
I think it is best to use the journalctl binary. Like this PR which replaces the coreos/go-systemd package: https://github.com/elastic/beats/pull/40061/files
Alternative: https://github.com/Velocidex/go-journalctl (but seems very fresh, only three commits).
Executing journalctl would likely be your best option then. I would say this is likely out of scope for this project though.
I guess we can close this now, as an alternative has been provided, and overall the issue of our of scope for this project.