In this article
The following query may be used to report on the number of errors recently generated from Reportal:
select count(id) as count
from [confirmlog]..[reportalmonitor] with(nolock)
where errorflag<>0
and performed >dateadd(mi,-10,getdate())