Foreach value of a field (say field1), check if there is continuous 5 minutes low or high value (than 100) of res_time field from last 10 minutes