Azure Monitor Baseline Alerts
Download AlertsGlossaryGitHubGitHub IssuesToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Override alert thresholds

In this page

Overview
How this feature works
Metrics alerts
Log-search alerts
Which tag do customers need to create

Overview

The Alert Threshold Override feature, introduced in the 2024-09-05 release, enables both Greenfield and Brownfield customers to customize alert thresholds for specific resources during or after the deployment of AMBA-ALZ. This feature allows the use of a tag with a specific name and value to override the default alert threshold for designated resources. The new threshold value will apply exclusively to the tagged resources, replacing the global threshold specified in the parameter file.

How this feature works

This feature is applicable exclusively to metrics and log-search alerts, as Activity Log-based alerts do not utilize thresholds and therefore cannot benefit from this enhancement. To use this feature, customers must create a resource tag with a specific name and assign it a desired value. After deploying this release, tags can be created either before or after the remediation task execution. However, the feature’s behavior varies between Metric and Log-search alerts.

Metrics alerts

If tags are configured before the remediation tasks execution, metric alerts will be created with the specified thresholds for the tagged resources, ensuring that each resource type has the appropriate alert thresholds applied.

Metric Alerts - Override threshold at work

If the tags are configured after the remediation tasks have completed, the resource will be marked as non-compliant due to the tag being part of the compliance criteria. Customers will need to remediate the corresponding policy initiative(s) as documented in Remediate Policies to reconfigure existing alerts with the new threshold.

Log-search alerts

Considering the nature of log-search alerts, where resource information is retrieved at query runtime, it does not matter if the tags are configured before or after the remediation task execution. The log-search alert query is created with a placeholder containing the threshold specified in the parameter file and includes logic to check for the resource-specific override tag. This is made possible by the ability to correlate data in Azure Data Explorer and Azure Resource Graph with data in a Log Analytics workspace. If the specific override tag is present, the query will use the tag value as the new threshold; otherwise, it will use the default threshold from the parameter file.

Log-search Alerts - Override threshold at work

Which tag do customers need to create

For a comprehensive list of resource type friendly names, resource provider namespaces, and recommended abbreviations, refer to Abbreviation recommendations for Azure resources.

To ensure proper functionality, this feature requires specific tag names. Flexibility in tag naming is not supported in this case. The tag names must adhere to the following naming convention:

***_amba-<metricName/counterName>-threshold-Override_***

In scenarios where the same metric is used multiple times for the same resource, a differentiator value is implemented immediately after the metric name. This ensures the naming convention follows the format:

***_amba-<metricName/counterName>-<differentiator>-threshold-Override_***

The following tables provide a mapping between alert names and the corresponding tag name that need to be created. They contain information about the value type (number, string) and examples of the format:

The sample values in the tables are not meant to serve as recommendations for the override value!

Log-search alerts table

Resource TypeAlert NameAlert TypeOverride Tag nameTag value typeExample
Machine - Azure Arcsubscription().displayName-HybridVMHighDataDiskReadLatencyAlertLog search_amba-ReadLatencyMs-Data-threshold-Override_Number35
Machine - Azure Arcsubscription().displayName-HybridVMLowDataDiskSpaceAlertLog search_amba-FreeSpacePercentage-Data-threshold-Override_Number8
Machine - Azure Arcsubscription().displayName-HybridVMHighDataDiskWriteLatencyAlertLog search_amba-WriteLatencyMs-Data-threshold-Override_Number35
Machine - Azure Arcsubscription().displayName-HybridVMDisconnectedAlertLog search_amba-Disconnected-threshold-Override_Timespan5m, 10d, 2h
Machine - Azure Arcsubscription().displayName-HybridVMHeartBeatAlertLog search_amba-Heartbeat-threshold-Override_Number5
Machine - Azure Arcsubscription().displayName-HybridVMHighNetworkInAlertLog search_amba-ReadBytesPerSecond-threshold-Override_Number20000000
Machine - Azure Arcsubscription().displayName-HybridVMHighNetworkOutAlertLog search_amba-WriteBytesPerSecond-threshold-Override_Number20000000
Machine - Azure Arcsubscription().displayName-HybridVMHighOSDiskReadLatencyAlertLog search_amba-ReadLatencyMs-OS-threshold-Override_Number35
Machine - Azure Arcsubscription().displayName-HybridVMLowOSDiskSpaceAlertLog search_amba-FreeSpacePercentage-OS-threshold-Override_Number8
Machine - Azure Arcsubscription().displayName-HybridVMHighOSDiskWriteLatencyAlertLog search_amba-WriteLatencyMs-OS-threshold-Override_Number35
Machine - Azure Arcsubscription().displayName-HybridVMHighCPUAlertLog search_amba-UtilizationPercentage-threshold-Override_Number90
Machine - Azure Arcsubscription().displayName-HybridVMLowMemoryAlertLog search_amba-AvailableMemoryPercentage-threshold-Override_Number8
Virtual machinesubscription().displayName-VMHighDataDiskReadLatencyAlertLog search_amba-ReadLatencyMs-Data-threshold-Override_Number35
Virtual machinesubscription().displayName-VMLowDataDiskSpaceAlertLog search_amba-FreeSpacePercentage-Data-threshold-Override_Number8
Virtual machinesubscription().displayName-VMHighDataDiskWriteLatencyAlertLog search_amba-WriteLatencyMs-Data-threshold-Override_Number35
Virtual machinesubscription().displayName-VMHeartBeatAlertLog search_amba-Heartbeat-threshold-Override_Number5
Virtual machinesubscription().displayName-VMHighNetworkInAlertLog search_amba-ReadBytesPerSecond-threshold-Override_Number20000000
Virtual machinesubscription().displayName-VMHighNetworkOutAlertLog search_amba-WriteBytesPerSecond-threshold-Override_Number20000000
Virtual machinesubscription().displayName-VMHighOSDiskReadLatencyAlertLog search_amba-ReadLatencyMs-OS-threshold-Override_Number35
Virtual machinesubscription().displayName-VMLowOSDiskSpaceAlertLog search_amba-FreeSpacePercentage-OS-threshold-Override_Number8
Virtual machinesubscription().displayName-VMHighOSDiskWriteLatencyAlertLog search_amba-WriteLatencyMs-OS-threshold-Override_Number35
Virtual machinesubscription().displayName-VMHighCPUAlertLog search_amba-UtilizationPercentage-threshold-Override_Number90
Virtual machinesubscription().displayName-VMLowMemoryAlertLog search_amba-AvailableMemoryPercentage-threshold-Override_Number8
Log Analytics workspaceresourceName-DailyCapLimitReachedAlertLog searchNot available as threshold will always be 0Not applicableN/A
Application InsightsresourceName-ApplicationInsightsThrottlingLimitReachedAlertLog search_amba-Throttling-threshold-override_Number64000

Metric alerts table

Resource TypeAlert NameAlert TypeOverride Tag nameTag value typeExample
Automation AccountresourceName-TotalJobMetrics_amba-TotalJob-threshold-Override_Number10
Front Door CDN profilesresourceName-OriginHealthPercentageMetrics_amba-OriginHealthPercentage-threshold-Override_Number35
Front Door CDN profilesresourceName-OriginLatencyAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Front Door CDN profilesresourceName-Percentage4XXAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Front Door CDN profilesresourceName-Percentage5XXAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Key vaultresourceName-AvailabilityMetrics_amba-Availability-threshold-Override_Number80
Key vaultresourceName-CapacityAlertMetrics_amba-SaturationShoebox-threshold-Override_Number90
Key vaultresourceName-LatencyAlertMetrics_amba-ServiceApiLatency-threshold-Override_Number900
Key vaultresourceName-RequestsAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Azure Key Vault Managed HSMresourceName-AvailabilityMetrics_amba-Availability-threshold-Override_Number80
Azure Key Vault Managed HSMresourceName-LatencyAlertMetrics_amba-ServiceApiLatency-threshold-Override_Number900
Application gatewayresourceName-agApplicationGatewayTotalTimeMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Application gatewayresourceName-agBackendLastByteResponseTimeMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Application gatewayresourceName-agCapacityUnitsMetrics_amba-CapacityUnits-threshold-Override_Number90
Application gatewayresourceName-agComputeUnitsMetrics_amba-ComputeUnits-threshold-Override_Number90
Application gatewayresourceName-agCpuUtilizationMetrics_amba-CpuUtilization-threshold-Override_Number75
Application gatewayresourceName-agFailedRequestsMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Application gatewayresourceName-agResponseStatusMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Application gatewayresourceName-agUnhealthyHostCountMetrics_amba-UnhealthyHostCount-threshold-Override_Number25
FirewallresourceName-FirewallHealthMetrics_amba-FirewallHealth-threshold-Override_Number75
FirewallresourceName-SNATPortUtilizationMetrics_amba-SNATPortUtilization-threshold-Override_Number90
ExpressRoute circuitresourceName-ArpAvailabilityMetrics_amba-ArpAvailability-threshold-Override_Number85
ExpressRoute circuitresourceName-BgpAvailabilityMetrics_amba-BgpAvailability-threshold-Override_Number85
ExpressRoute circuitresourceName-QosDropBitsInPerSecondMetricsNot available since it uses dynamic thresholdsNot applicableN/A
ExpressRoute circuitresourceName-QosDropBitsOutPerSecondMetricsNot available since it uses dynamic thresholdsNot applicableN/A
ExpressRoute gatewayresourceName-GatewayERBitsInAlertMetrics_amba-ERGatewayConnectionBitsInPerSecond-threshold-Override_Number10
ExpressRoute gatewayresourceName-GatewayERBitsOutAlertMetrics_amba-ERGatewayConnectionBitsOutPerSecond-threshold-Override_Number10
ExpressRoute gatewayresourceName-GatewayERCPUAlertMetrics_amba-ExpressRouteGatewayCpuUtilization-threshold-Override_Number85
ExpressRoute portresourceName-DirectERBitsInAlertMetrics_amba-PortBitsInPerSecond-threshold-Override_Number10
ExpressRoute portresourceName-DirectERBitsOutAlertMetrics_amba-PortBitsOutPerSecond-threshold-Override_Number10
ExpressRoute portresourceName-DirectERLineProtocolAlertMetrics_amba-LineProtocol-threshold-Override_Number0.5
ExpressRoute portresourceName-DirectERRxLightLevelHighAlertMetrics_amba-RxLightLevel-High-threshold-Override_Number4
ExpressRoute portresourceName-DirectERRxLightLevelLowAlertMetrics_amba-RxLightLevel-Low-threshold-Override_Number4
ExpressRoute portresourceName-DirectERTxLightLevelHighAlertMetrics_amba-TxLightLevel-High-threshold-Override_Number4
ExpressRoute portresourceName-DirectERTxLightLevelLowAlertMetrics_amba-TxLightLevel-Low-threshold-Override_Number4
Front DoorresourceName-BackendHealthPercentageMetrics_amba-BackendHealthPercentage-threshold-Override_Number85
Front DoorresourceName-BackendRequestLatencyAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Load balancerresourceName-ALBDataPathAvailabilityMetrics_amba-VipAvailability-threshold-Override_Number85
Load balancerresourceName-ALBGlobalBackendAvailabilityMetrics_amba-GlobalBackendAvailability-threshold-Override_Number85
Load balancerresourceName-ALBHealthProbeStatusMetrics_amba-DipAvailability-threshold-Override_Number85
Load balancerresourceName-ALBUsedSNATPortsMetrics_amba-UsedSNATPorts-threshold-Override_Number800
Private DNS zoneresourceName-CapacityUtilizationAlertMetrics_amba-VirtualNetworkLinkCapacityUtilization-threshold-Override_Number75
Private DNS zoneresourceName-QueryVolumeAlertMetrics_amba-QueryVolume-threshold-Override_Number400
Private DNS zoneresourceName-RecordSet_Capacity_UtilizationMetrics_amba-RecordSetCapacityUtilization-threshold-Override_Number75
Private DNS zoneresourceName-RequestsAlertMetrics_amba-VirtualNetworkWithRegistrationCapacityUtilization-threshold-Override_Number75
Public IP addressresourceName-BytesInDDOSAlertMetrics_amba-bytesinddos-threshold-Override_Number7500000
Public IP addressresourceName-DDOS_AttackMetrics_amba-ifunderddosattack-threshold-Override_Number5
Public IP addressresourceName-PacketsInDDosAlertMetrics_amba-PacketsInDDoS-threshold-Override_Number35000
Public IP addressresourceName-VIPAvailabityAlertMetrics_amba-VipAvailability-threshold-Override_Number80
Traffic ManagerresourceName-EndpointHealthAlertMetrics_amba-EndpointHealth-threshold-Override_Number0.7
Virtual network gatewayresourceName-TunnelBandwidthAlertMetrics_amba-TunnelAverageBandwidth-threshold-Override_Number2
Virtual network gatewayresourceName-TunnelEgressAlertMetrics_amba-TunnelEgressBytes-threshold-Override_Number2
Virtual network gatewayresourceName-TunnelEgressPacketDropCountAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Virtual network gatewayresourceName-TunnelEgressPacketDropTSMismatchAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Virtual network gatewayresourceName-GatewayERBitsAlertMetrics_amba-ExpressRouteGatewayBitsPerSecond-threshold-Override_Number2
Virtual network gatewayresourceName-GatewayERCPUAlertMetrics_amba-ExpressRouteGatewayCpuUtilization-threshold-Override_Number75
Virtual network gatewayresourceName-TunnelIngressAlertMetrics_amba-TunnelIngressBytes-threshold-Override_Number2
Virtual network gatewayresourceName-TunnelIngressPacketDropCountAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Virtual network gatewayresourceName-TunnelIngressPacketDropTSMismatchAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Virtual networkresourceName-DDOSAttackAlertMetrics_amba-ifunderddosattack-threshold-Override_Number1
VPN GatewayresourceName-GatewayBandwidthAlertMetrics_amba-tunnelaveragebandwidth-threshold-Override_Number2
VPN GatewayresourceName-BGPPeerStatusAlertMetrics_amba-bgppeerstatus-threshold-Override_Number2
VPN GatewayresourceName-TunnelEgressAlertMetrics_amba-tunnelegressbytes-threshold-Override_Number2
VPN GatewayresourceName-TunnelEgressPacketDropCountAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
VPN GatewayresourceName-TunnelEgressPacketDropTSMismatchAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
VPN GatewayresourceName-TunnelIngressAlertMetrics_amba-tunnelingressbytes-threshold-Override_Number2
VPN GatewayresourceName-TunnelIngressPacketDropCountMetricsNot available since it uses dynamic thresholdsNot applicableN/A
VPN GatewayresourceName-TunnelIngressPacketDropTSMismatchAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
Storage accountresourceName-AvailabilityAlertMetrics_amba-Availability-threshold-Override_Number90
App Service planresourceName-CpuPercentageMetrics_amba-CpuPercentage-threshold-Override_Number75
App Service planresourceName-DiskQueueLengthAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
App Service planresourceName-HttpQueueLengthAlertMetricsNot available since it uses dynamic thresholdsNot applicableN/A
App Service planresourceName-MemoryPercentageMetrics_amba-MemoryPercentage-threshold-Override_Number75

Activity Log alerts table

Resource TypeAlert NameAlert TypeOverride Tag nameTag value typeExample
Key vaultActivityKeyVaultDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Azure Key Vault Managed HSMActivityManagedHSMDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
FirewallActivityAzureFirewallDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Route tableActivityUDRUpdateActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
VPN GatewayActivityVPNGatewayDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Log Analytics workspaceActivityLAWorkspaceDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Log Analytics workspaceActivityLAWorkspaceRegenKeyActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
SubscriptionResourceHealthUnhealthyAlertResource healthNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
SubscriptionServiceHealthHealthService healthNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
SubscriptionServiceHealthIncidentService healthNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
SubscriptionServiceHealthMaintenanceService healthNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
SubscriptionServiceSecurityIncidentService healthNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Storage accountActivitySADeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Application InsightsActivityAppInsightsDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Route TablesActivityUDRDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A
Route Tables - RoutesActivityUDRRoutesDeleteActivity LogNot available since Activity Log based alerts do not have thresholdsNot applicableN/A