journalctl _SYSTEMD_UNIT=nginx.service

Category: Administration

journalctl _SYSTEMD_UNIT=nginx.service

Filter journal by systemd unit field

Shows entries whose _SYSTEMD_UNIT field exactly matches nginx.service, a lower-level filter than the -u shortcut. Field filters work on any journal field, such as _PID or _COMM. The journal is systemd's structured binary log store that journalctl reads.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.