One approach would be to coalesce matching entries that repeat within some time delta of each other, something like
12:03 - Restart attempted [3 times since 12:01] 12:03 - Restart failed [3 times since 12:01] 12:02 - Something 11:23 - Restart attempted [17 times since 11:21]
Daniel LeCheminant
2009-04-06 23:06:28