I've been doing some logging to try and illustrate to Comcast Business the frequency of their service interruptions at my office. I'm logging ping response times to a file then parsing that file with R. In the log file a value of 1000 means the ping timed out. My script logs the pings every 5 seconds. So if my Comcast service is down for 30 seconds that would result in ~6 log entries with value of 1000. I'd like to parse my logs in such a way that I could create a summary table that showed when each outage started, and how long it lasted. What are some good ways to do this?I've been doing some logging to try and illustr