I have a task execution system, each will have execution records, but sometimes I downtime, means that there is no record this period of time, I hope to find all my fails to perform or failed mission, this kind of analysis is real-time, can be done how, with what kind of algorithm?