Forum Discussion
Azure Alerts metrics in LogAnalytics
- Feb 07, 2019
Hi,
Azure Alerts data is not in Log Analytics. It is located in API:
https://docs.microsoft.com/en-us/rest/api/monitor/alertsmanagement/alerts/getall
Microsoft does not provide any dashboards for alerts unfortunately. Might be best to request this feature in Azure Monitor user voice.
Hey Bryan, the Workbooks blade in Azure Monitor can do something that's at least very, very close to what your asking.
Go to 'Monitor' -> 'Workbooks' blades, then click 'New':
Click 'Add Query':
Then click the tiny '(change)' option next to where it says 'Query: None.....'
Then we get to the good stuff:
Make the following changes to the option to get you something close to what you want:
Data Source = Alerts (preview)
Resource Type = Subscriptions
Subscriptions = <select the subscriptions you want to cover>
Time Range = <define the desired time range for your query>
Results = Alerts
Severity/Condition/Alert State = <define as per your needs>
Visualisation = Grid
This new workbook can then be saved, and the step pinned to a Dashboard.
You'll probably want to tweak a bit to get it to suit your requirements, but I think this should get you close?