Section: Output, Export, Maintenance

Pretty JSON output

bash
bash
journalctl -o json-pretty
Explanation

Useful for quick manual inspection of fields.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Output, Export, Maintenance
Output as JSON
Emit journal entries in JSON format.
OpenIn sheetbashsame section
Use ISO timestamps
Display logs in short ISO format.
OpenIn sheetbashsame section
Show journal disk usage
Inspect space used by journal files.
OpenIn sheetbashsame section
Vacuum journal to size
Delete archived journals until under size limit.
OpenIn sheetbashsame section
Vacuum journal by age
Delete archived logs older than a time window.
OpenIn sheetbashsame section
Verify journal files
Check journal file integrity.
OpenIn sheetbashsame section