mtr is probably the best first step, it'll let you know where the issue is happening.
You can also keep a terminal open with # journalctl -f running, it'll show you a live view of your system log. This would make it easy to look over at the log when the lag is happening. # dmesg -w may also be useful if your hardware is dying and restarting.