Ravi Sir's Cards › AWS
journalctl filters
This revision card explains journalctl filters. It starts from the need that find the error fast. It describes -u unit, -f follow. The how-to section notes -p err, --since, -b. An example on the card is errors of one service today.
Read card text
What this card says
Why do we need it?
Find the error fast.
What is it?
-u unit, -f follow.
How to do it
-p err, --since, -b.
Example
Errors of one service today.
journalctl -u nginx -p err --since today