I currently have the following SQL setup as a report.
select TOP 5 cast(message as varchar(200)) as EventMsg, COUNT(*) as Occurances
from Events
where eventtime >dateadd(hour,-24,getdate())AND Message like '%accel UP%'
group by cast(message as varchar(200)),EventType
having count(*)>=2
order by Occurances DESC
I have this report as viewable from Orion Web console on one of hte views. We have a need to be able to configure an alert based on this data. The alert would be something like If more than 5 occurances then fire an email.....etc. Can this be done