Notes · How it works

What a gap in a log can tell you

November 2026 · 3 min read

When we look into a problem, we search first: the error, the exception, the warning. The question that often helps more comes after that. When did the program say nothing at all, and does that silence come back?

We remember asking that one a lot. A problem that shows up only now and then is hard to pin down. If the quiet periods around it come at regular intervals, every night or every twenty minutes, you are no longer looking for a bug but for whatever runs on that schedule. Scrolling through the time column for jumps doesn't work beyond a few hundred lines, so Retrospective got a gap analysis: Delayed Log Events.

Here is an example of how it is used. A nightly batch on an order system fails now and then with a timeout, and its log shows nothing else. You search two weeks of the application log, the database log and the web server log, with no text criterion, so every entry is collected. Then you open Delayed Log Events in the Result Data menu and switch off Report max. values per path. Now a delay counts only when all three logs were quiet at the same time.

The list is short. On most nights, shortly after 02:00, all three logs stop for about twelve seconds. Each log on its own shows nothing unusual: twelve quiet seconds at night are normal for any of them. Together they stand out, because three programs don't stop at the same second by chance.

12 s, all three quiet Application Database Web server 02:03 02:05
Each log alone looks normal at night. Side by side, they stop at the same second.

Programs that go quiet together share something: the network, the storage, the virtualization host. In this example it is the backup. Every night it takes a snapshot of the virtual machines and freezes them for a few seconds while it does. On the nights the batch hits that moment, it times out. Select the delays, press Reveal, and the table shows the entries around each gap: the last line before the freeze, and the first one after it.

A gap is a clue, not a finding. Many programs are quiet at night simply because nobody uses them. A clock that is off between hosts makes gaps appear or disappear. A program that stopped for good has no entry after its last silence, so that silence isn't reported. The manual chapter Delayed Log Events covers these cases and every option.

All notes