systemd journalctl-Log als JSON-Datei speichern

English Deutsch

journalctl-Logs als formatiertes JSON in einer Datei speichern.

how-to-save-systemd-journalctl-log-to-json-file.sh
sudo journalctl -xu yourservice.service -o json-pretty  > ~/test_logs.json

Check out similar posts by category: Linux