How to filter dmesg by time

Solution 1:

You should be able to do it using:

journalctl -kS -25min

-k is for kernel messages only and -S to define time.

For opposite direction, more verbose output limited to 1000 lines, maybe try: -kexS -25min

also check man systemd.time