Obtain downtime with time series data

Hello,

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
30 seconds."

Any idea on how to have these informations ?

Sincerely,

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.