Gaps And Islands

Not too long ago, I helped a co-worker solve a problem.  The quick version of the problem is, we want to collate together common occurrences of an event.  In this case, it's log records by IP address.  If the same IP address shows up 3 times in a row, we want to know that there…