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
Log-search alerts
Metrics 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.

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

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.

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!

Activity Log alerts override tags table

Resource TypeAlert NameOverride Tag nameTag value typeOperatorOriginal threshold valueSample override value
microsoft.insights/componentsActivityAppInsightsDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
microsoft.keyvault/managedHSMsActivityManagedHSMDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
microsoft.keyvault/vaultsActivityKeyVaultDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Network/azureFirewallsActivityAzureFirewallDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Network/networkSecurityGroupsActivityNSGDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Network/routeTablesActivityUDRDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Network/routeTablesActivityUDRRoutesDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Network/routeTablesActivityUDRUpdateNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Network/vpnGatewaysActivityVPNGatewayDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.OperationalInsights/workspacesActivityLAWorkspaceDeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.OperationalInsights/workspacesActivityLAWorkspaceRegenKeyNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Resources/subscriptionsResourceHealthUnhealthyAlertNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Resources/subscriptionsServiceHealthAdvisoryEventNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Resources/subscriptionsServiceHealthIncidentNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Resources/subscriptionsServiceHealthPlannedMaintenanceNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Resources/subscriptionsServiceHealthSecurityIncidentNot applicable to Activity Log based alertsN/AN/AN/AN/A
Microsoft.Storage/storageAccountsActivity Log Storage Account DeleteNot applicable to Activity Log based alertsN/AN/AN/AN/A

Log-search alerts override tags table

Resource TypeAlert NameOverride Tag nameTag value typeOperatorOriginal threshold valueSample override value
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighDataDiskReadLatencyAlert_amba-ReadLatencyMs-Data-threshold-Override_NumberGreaterThan308
Microsoft.Compute/virtualMachinessubscription().displayName-VMLowDataDiskSpaceAlert_amba-FreeSpacePercentage-Data-threshold-Override_NumberGreaterThan106
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighDataDiskWriteLatencyAlert_amba-WriteLatencyMs-Data-threshold-Override_NumberGreaterThan301
Microsoft.Compute/virtualMachinessubscription().displayName-VMHeartBeatAlert_amba-Heartbeat-threshold-Override_NumberGreaterThan108
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighNetworkInAlert_amba-ReadBytesPerSecond-threshold-Override_NumberGreaterThan100000003399852
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighNetworkOutAlert_amba-WriteBytesPerSecond-threshold-Override_NumberGreaterThan10000000391188
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighOSDiskReadLatencyAlert_amba-ReadLatencyMs-OS-threshold-Override_NumberGreaterThan3025
Microsoft.Compute/virtualMachinessubscription().displayName-VMLowOSDiskSpaceAlert_amba-FreeSpacePercentage-OS-threshold-Override_NumberGreaterThan107
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighOSDiskWriteLatencyAlert_amba-WriteLatencyMs-OS-threshold-Override_NumberGreaterThan3017
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighCPUAlert_amba-UtilizationPercentage-threshold-Override_NumberGreaterThan8563
Microsoft.Compute/virtualMachinessubscription().displayName-VMLowMemoryAlert_amba-AvailableMemoryPercentage-threshold-Override_NumberGreaterThan108
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighDataDiskReadLatencyAlert_amba-ReadLatencyMs-Data-threshold-Override_NumberGreaterThan3021
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMLowDataDiskSpaceAlert_amba-FreeSpacePercentage-Data-threshold-Override_NumberGreaterThan102
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighDataDiskWriteLatencyAlert_amba-WriteLatencyMs-Data-threshold-Override_NumberGreaterThan3025
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMDisconnectedAlertNot applicableTimespan (string)GreaterThan10mN/A
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHeartBeatAlert_amba-Heartbeat-threshold-Override_NumberGreaterThan104
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighNetworkInAlert_amba-ReadBytesPerSecond-threshold-Override_NumberGreaterThan100000005819367
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighNetworkOutAlert_amba-WriteBytesPerSecond-threshold-Override_NumberGreaterThan100000007129713
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighOSDiskReadLatencyAlert_amba-ReadLatencyMs-OS-threshold-Override_NumberGreaterThan3021
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMLowOSDiskSpaceAlert_amba-FreeSpacePercentage-OS-threshold-Override_NumberGreaterThan105
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighOSDiskWriteLatencyAlert_amba-WriteLatencyMs-OS-threshold-Override_NumberGreaterThan3018
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighCPUAlert_amba-UtilizationPercentage-threshold-Override_NumberGreaterThan8518
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMLowMemoryAlert_amba-AvailableMemoryPercentage-threshold-Override_NumberGreaterThan105
Microsoft.Insights/componentsresourceName-ApplicationInsightsThrottlingLimitReachedAlert_amba-Throttling-threshold-override_NumberGreaterThan3200027001
Microsoft.OperationalInsights/workspacesresourceName-DailyCapLimitReachedAlertNot applicableNumberGreaterThan0N/A

Metric alerts override tags table

Resource TypeAlert NameOverride Tag nameTag value typeOperatorOriginal threshold valueSample override value
Microsoft.Automation/automationAccountsresourceName-TotalJob_amba-TotalJob-threshold-Override_NumberGreaterThan04
Microsoft.Cdn/profilesresourceName-OriginHealthPercentage_amba-OriginHealthPercentage-threshold-Override_NumberLessThan9094
Microsoft.Cdn/profilesresourceName-OriginLatencyAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Cdn/profilesresourceName-Percentage4XXAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Cdn/profilesresourceName-Percentage5XXAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Compute/virtualMachinesresourceName-AvailableMemoryAlert_amba-AvailableMemoryBytes-threshold-Override_NumberLessThan10001144
microsoft.keyvault/managedHSMsresourceName-Availability_amba-Availability-threshold-Override_NumberLessThan90103
microsoft.keyvault/managedHSMsresourceName-LatencyAlert_amba-ServiceApiLatency-threshold-Override_NumberGreaterThan1000446
microsoft.keyvault/vaultsresourceName-Availability_amba-Availability-threshold-Override_NumberLessThan90101
microsoft.keyvault/vaultsresourceName-CapacityAlert_amba-SaturationShoebox-threshold-Override_NumberGreaterThan7532
microsoft.keyvault/vaultsresourceName-LatencyAlert_amba-ServiceApiLatency-threshold-Override_NumberGreaterThan1000478
microsoft.keyvault/vaultsresourceName-RequestsAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/applicationgatewaysresourceName-agApplicationGatewayTotalTimeNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/applicationgatewaysresourceName-agBackendLastByteResponseTimeNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/applicationgatewaysresourceName-agCapacityUnits_amba-CapacityUnits-threshold-Override_NumberGreaterThan750
Microsoft.Network/applicationgatewaysresourceName-agComputeUnits_amba-ComputeUnits-threshold-Override_NumberGreaterThan7568
Microsoft.Network/applicationgatewaysresourceName-agCpuUtilization_amba-CpuUtilization-threshold-Override_NumberGreaterThan8012
Microsoft.Network/applicationgatewaysresourceName-agFailedRequestsNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/applicationgatewaysresourceName-agResponseStatusNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/applicationgatewaysresourceName-agUnhealthyHostCount_amba-UnhealthyHostCount-threshold-Override_NumberGreaterThan201
Microsoft.Network/azureFirewallsresourceName-ApplicationRuleHit_amba-ApplicationRuleHit-threshold-Override_NumberGreaterThan5049
Microsoft.Network/azureFirewallsresourceName-FirewallHealth_amba-FirewallHealth-threshold-Override_NumberLessThan90101
Microsoft.Network/azureFirewallsresourceName-NetworkRuleHit_amba-NetworkRuleHit-threshold-Override_NumberGreaterThan505
Microsoft.Network/azureFirewallsresourceName-SNATPortUtilization_amba-SNATPortUtilization-threshold-Override_NumberGreaterThan8048
Microsoft.Network/expressRouteCircuitsresourceName-ArpAvailability_amba-ArpAvailability-threshold-Override_NumberLessThan90100
Microsoft.Network/expressRouteCircuitsresourceName-BgpAvailability_amba-BgpAvailability-threshold-Override_NumberLessThan9095
Microsoft.Network/expressRouteCircuitsresourceName-QosDropBitsInPerSecondNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/expressRouteCircuitsresourceName-QosDropBitsOutPerSecondNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/expressroutegatewaysresourceName-GatewayERBitsInAlert_amba-ERGatewayConnectionBitsInPerSecond-threshold-Override_NumberLessThan111
Microsoft.Network/expressroutegatewaysresourceName-GatewayERBitsOutAlert_amba-ERGatewayConnectionBitsOutPerSecond-threshold-Override_NumberLessThan112
Microsoft.Network/expressroutegatewaysresourceName-GatewayERCPUAlert_amba-ExpressRouteGatewayCpuUtilization-threshold-Override_NumberGreaterThan805
Microsoft.Network/expressroutegatewaysresourceName-ExpressRouteGatewayActiveFlowsAlert_amba-ExpressRouteGatewayActiveFlows-threshold-Override_NumberGreaterThan200000130872
Microsoft.Network/expressRoutePortsresourceName-DirectERBitsInAlert_amba-PortBitsInPerSecond-threshold-Override_NumberLessThan112
Microsoft.Network/expressRoutePortsresourceName-DirectERBitsOutAlert_amba-PortBitsOutPerSecond-threshold-Override_NumberLessThan111
Microsoft.Network/expressRoutePortsresourceName-DirectERLineProtocolAlert_amba-LineProtocol-threshold-Override_NumberLessThan0.910
Microsoft.Network/expressRoutePortsresourceName-DirectERRxLightLevelHighAlert_amba-RxLightLevel-High-threshold-Override_NumberGreaterThan01
Microsoft.Network/expressRoutePortsresourceName-DirectERRxLightLevelLowAlert_amba-RxLightLevel-Low-threshold-Override_NumberLessThan-1011
Microsoft.Network/expressRoutePortsresourceName-DirectERTxLightLevelHighAlert_amba-TxLightLevel-High-threshold-Override_NumberGreaterThan02
Microsoft.Network/expressRoutePortsresourceName-DirectERTxLightLevelLowAlert_amba-TxLightLevel-Low-threshold-Override_NumberLessThan-1011
Microsoft.Network/frontdoorsresourceName-BackendHealthPercentage_amba-BackendHealthPercentage-threshold-Override_NumberLessThan9091
Microsoft.Network/frontdoorsresourceName-BackendRequestLatencyAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/loadBalancersresourceName-ALBDataPathAvailability_amba-VipAvailability-threshold-Override_NumberLessThan9094
Microsoft.Network/loadBalancersresourceName-ALBGlobalBackendAvailability_amba-GlobalBackendAvailability-threshold-Override_NumberLessThan9091
Microsoft.Network/loadBalancersresourceName-ALBHealthProbeStatus_amba-DipAvailability-threshold-Override_NumberLessThan9091
Microsoft.Network/loadBalancersresourceName-ALBUsedSNATPorts_amba-UsedSNATPorts-threshold-Override_NumberGreaterThan900393
microsoft.network/p2svpngatewaysresourceName-P2SBandwidthAlert_amba-P2SBandwidth-threshold-Override_NumberGreaterThan99002723
microsoft.network/p2svpngatewaysresourceName-P2SConnectionCountAlert_amba-P2SConnectionCount-threshold-Override_NumberGreaterThan9900067194
microsoft.network/p2svpngatewaysresourceName-UserVpnRouteCountAlert_amba-UserVpnRouteCount-threshold-Override_NumberGreaterThan99002217
Microsoft.Network/privateDnsZonesresourceName-CapacityUtilizationAlert_amba-VirtualNetworkLinkCapacityUtilization-threshold-Override_NumberGreaterThanOrEqual801
Microsoft.Network/privateDnsZonesresourceName-QueryVolumeAlert_amba-QueryVolume-threshold-Override_NumberGreaterThanOrEqual500341
Microsoft.Network/privateDnsZonesresourceName-RecordSet_Capacity_Utilization_amba-RecordSetCapacityUtilization-threshold-Override_NumberGreaterThanOrEqual8058
Microsoft.Network/privateDnsZonesresourceName-RequestsAlert_amba-VirtualNetworkWithRegistrationCapacityUtilization-threshold-Override_NumberGreaterThanOrEqual8012
Microsoft.Network/publicIPAddressesresourceName-BytesInDDOSAlert_amba-bytesinddos-threshold-Override_NumberGreaterThan80000001574037
Microsoft.Network/publicIPAddressesresourceName-DDOS_Attack_amba-ifunderddosattack-threshold-Override_NumberGreaterThan06
Microsoft.Network/publicIPAddressesresourceName-PacketsInDDosAlert_amba-PacketsInDDoS-threshold-Override_NumberGreaterThanOrEqual4000031086
Microsoft.Network/publicIPAddressesresourceName-VIPAvailabityAlert_amba-VipAvailability-threshold-Override_NumberLessThan9097
Microsoft.Network/trafficmanagerprofilesresourceName-EndpointHealthAlert_amba-EndpointHealth-threshold-Override_NumberLessThan0.910
microsoft.network/virtualhubsresourceName-BgpPeerStatusAlert_amba-bgppeerstatus-threshold-Override_NumberLessThan111
microsoft.network/virtualhubsresourceName-CountOfRoutesAdvertisedToPeerAlert_amba-CountOfRoutesAdvertisedToPeer-threshold-Override_NumberGreaterThan1000466
microsoft.network/virtualhubsresourceName-CountOfRoutesLearnedFromPeerAlert_amba-CountOfRoutesLearnedFromPeer-threshold-Override_NumberGreaterThan1000202
microsoft.network/virtualhubsresourceName-RoutingInfrastructureUnitsAlert_amba-RoutingInfrastructureUnits-threshold-Override_NumberGreaterThan3027
microsoft.network/virtualhubsresourceName-SpokeVMUtilizationAlert_amba-SpokeVMUtilization-threshold-Override_NumberGreaterThan9048
microsoft.network/virtualhubsresourceName-VirtualHubDataProcessedAlert_amba-VirtualHubDataProcessed-threshold-Override_NumberGreaterThan50003549
Microsoft.Network/virtualNetworkGatewaysresourceName-TunnelBandwidthAlert_amba-TunnelAverageBandwidth-threshold-Override_NumberLessThan112
Microsoft.Network/virtualNetworkGatewaysresourceName-TunnelEgressAlert_amba-TunnelEgressBytes-threshold-Override_NumberLessThan111
microsoft.network/virtualNetworkGatewaysresourceName-TunnelEgressPacketDropCountAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
microsoft.network/virtualNetworkGatewaysresourceName-TunnelEgressPacketDropTSMismatchAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/virtualNetworkGatewaysresourceName-GatewayERBitsAlert_amba-ExpressRouteGatewayBitsPerSecond-threshold-Override_NumberLessThan110
Microsoft.Network/virtualNetworkGatewaysresourceName-GatewayERCPUAlert_amba-ExpressRouteGatewayCpuUtilization-threshold-Override_NumberGreaterThan8025
Microsoft.Network/virtualNetworkGatewaysresourceName-TunnelIngressAlert_amba-TunnelIngressBytes-threshold-Override_NumberLessThan112
microsoft.network/virtualNetworkGatewaysresourceName-TunnelIngressPacketDropCountAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
microsoft.network/virtualNetworkGatewaysresourceName-TunnelIngressPacketDropTSMismatchAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Network/virtualNetworksresourceName-DDOSAttackAlert_amba-ifunderddosattack-threshold-Override_NumberGreaterThan02
microsoft.network/vpngatewaysresourceName-GatewayBandwidthAlert_amba-tunnelaveragebandwidth-threshold-Override_NumberLessThan110
microsoft.network/vpngatewaysresourceName-BGPPeerStatusAlert_amba-bgppeerstatus-threshold-Override_NumberLessThan111
microsoft.network/vpngatewaysresourceName-TunnelEgressAlert_amba-tunnelegressbytes-threshold-Override_NumberLessThan111
microsoft.network/vpngatewaysresourceName-TunnelEgressPacketDropCountAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
microsoft.network/vpngatewaysresourceName-TunnelEgressPacketDropTSMismatchAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
microsoft.network/vpngatewaysresourceName-TunnelIngressAlert_amba-tunnelingressbytes-threshold-Override_NumberLessThan110
microsoft.network/vpngatewaysresourceName-TunnelIngressPacketDropCountAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
microsoft.network/vpngatewaysresourceName-TunnelIngressPacketDropTSMismatchAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Storage/storageAccountsresourceName-AvailabilityAlert_amba-Availability-threshold-Override_NumberLessThan90104
Microsoft.Web/serverfarmsresourceName-CpuPercentage_amba-CpuPercentage-threshold-Override_NumberGreaterThan9063
Microsoft.Web/serverfarmsresourceName-DiskQueueLengthAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Web/serverfarmsresourceName-HttpQueueLengthAlertNot applicable to alerts configured with dynamic thresholdsStringN/ADynamicThresholdCriterionN/A
Microsoft.Web/serverfarmsresourceName-MemoryPercentage_amba-MemoryPercentage-threshold-Override_NumberGreaterThan8571