Trying to create a custom SQL Graph using the AlertHistoryView Table. I want to show a graph that gives a total count of triggered alerts per the time frame I specify.
For example, A graph that shows the last hour, showing how many Alerts were triggered every minute...... or a graph for the last 24 hours that shows how many alerts were triggered every hour.... and so on.
I'm not great with SQL.... all i got so far is:
Select *
From AlertHistoryView
Where EventTypeWord = 'Triggered'
Not sure how to refine the Select statement or add a time element in there.
Any assistance would be appreciated.
Thanks