Shared on Droptext
Untitled text
alertsmanagementresources
| where type =~ 'microsoft.alertsmanagement/alerts'
| extend e = properties.essentials
| where todatetime(e.startDateTime) >= ago(30d)
| where tostring(e.monitorService) =~ 'Azure Backup'
or tostring(e.alertRule) contains 'Backup Failure'
| project FiredTime = todatetime(e.startDateTime),
AlertName = tostring(e.alertRule),
Severity = tostring(e.severity),
AlertState = tostring(e.alertState),
MonitorCondition = tostring(e.monitorCondition),
SignalType = tostring(e.signalType),
Datasource = tostring(e.targetResourceName),
ResourceGroup = tostring(e.targetResourceGroup),
Description = tostring(e.description),
CustomProps = tostring(properties.customProperties),
Context = tostring(properties.context),
AlertId = id
| order by FiredTime desc