journalctl
Filtering by date/time
-bShow logs from the last boot.-b NShow logs from the n-th boot (use--list--bootsto get boot index).--since "yyyy-mm-dd hh:MM:ss"Show logs since. Also the following keywords may be used instead of exact date/time:yesterday,today,tomorrow, ornow. Alternatively, a numbered value may be used with or without-or+prefix or the keywordago, e.g. 11 hour ago`.--until "yyyy-mm-dd hh:MM:ss"Show logs until. The same rules apply.
Other filtering
-uShow logs for unit, e.g.-u postgres.service. May be provided multiple times.-kor--dmesgShow kernel messages.-p NShow logs with specific priority (e.g.err,warning,infoor their numeric value).
Controlling output
--no-pager-nor-n NSame astail-fFollow logs as they appear.
Housekeeping
--disk-usage--vacuum-size=NTruncate logs up to size N (e.g.1G).--vacuum-time=TTruncate logs up to T (e.g.1yearswill delete entries that are older than a year).
Examples
Show last boot errors:
journalctl -b -1 -e