I have time series data from Tomcat log.
I need to aggregate data in order to have "Downtime".
Here the downtime definition :
"Downtime duration in the day in seconds . Numeric >= 0. A downtime starts when 5
consecutive requests have a status = 5xx or a response time >= 30 seconds. The
timestamp of the first request gives the start time of the downtime. The downtime
ends when a request has a status different from 5xx and the response time is less than
Any idea on how to have these informations ?