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_NumberGreaterThan3029
Microsoft.Compute/virtualMachinessubscription().displayName-VMLowDataDiskSpaceAlert_amba-FreeSpacePercentage-Data-threshold-Override_NumberGreaterThan107
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighDataDiskWriteLatencyAlert_amba-WriteLatencyMs-Data-threshold-Override_NumberGreaterThan3018
Microsoft.Compute/virtualMachinessubscription().displayName-VMHeartBeatAlert_amba-Heartbeat-threshold-Override_NumberGreaterThan109
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighNetworkInAlert_amba-ReadBytesPerSecond-threshold-Override_NumberGreaterThan100000002997772
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighNetworkOutAlert_amba-WriteBytesPerSecond-threshold-Override_NumberGreaterThan100000005982954
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighOSDiskReadLatencyAlert_amba-ReadLatencyMs-OS-threshold-Override_NumberGreaterThan304
Microsoft.Compute/virtualMachinessubscription().displayName-VMLowOSDiskSpaceAlert_amba-FreeSpacePercentage-OS-threshold-Override_NumberGreaterThan108
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighOSDiskWriteLatencyAlert_amba-WriteLatencyMs-OS-threshold-Override_NumberGreaterThan301
Microsoft.Compute/virtualMachinessubscription().displayName-VMHighCPUAlert_amba-UtilizationPercentage-threshold-Override_NumberGreaterThan8550
Microsoft.Compute/virtualMachinessubscription().displayName-VMLowMemoryAlert_amba-AvailableMemoryPercentage-threshold-Override_NumberGreaterThan103
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighDataDiskReadLatencyAlert_amba-ReadLatencyMs-Data-threshold-Override_NumberGreaterThan3012
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMLowDataDiskSpaceAlert_amba-FreeSpacePercentage-Data-threshold-Override_NumberGreaterThan105
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighDataDiskWriteLatencyAlert_amba-WriteLatencyMs-Data-threshold-Override_NumberGreaterThan3016
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMDisconnectedAlertNot applicableTimespan (string)GreaterThan10mN/A
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHeartBeatAlert_amba-Heartbeat-threshold-Override_NumberGreaterThan108
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighNetworkInAlert_amba-ReadBytesPerSecond-threshold-Override_NumberGreaterThan100000003274414
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighNetworkOutAlert_amba-WriteBytesPerSecond-threshold-Override_NumberGreaterThan100000009023282
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighOSDiskReadLatencyAlert_amba-ReadLatencyMs-OS-threshold-Override_NumberGreaterThan3013
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMLowOSDiskSpaceAlert_amba-FreeSpacePercentage-OS-threshold-Override_NumberGreaterThan100
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighOSDiskWriteLatencyAlert_amba-WriteLatencyMs-OS-threshold-Override_NumberGreaterThan3028
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMHighCPUAlert_amba-UtilizationPercentage-threshold-Override_NumberGreaterThan8579
Microsoft.HybridCompute/machinessubscription().displayName-HybridVMLowMemoryAlert_amba-AvailableMemoryPercentage-threshold-Override_NumberGreaterThan107
Microsoft.Insights/componentsresourceName-ApplicationInsightsThrottlingLimitReachedAlert_amba-Throttling-threshold-override_NumberGreaterThan3200030215
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_NumberGreaterThan08
Microsoft.Cdn/profilesresourceName-OriginHealthPercentage_amba-OriginHealthPercentage-threshold-Override_NumberLessThan9095
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_NumberLessThan10001175
microsoft.keyvault/managedHSMsresourceName-Availability_amba-Availability-threshold-Override_NumberLessThan90104
microsoft.keyvault/managedHSMsresourceName-LatencyAlert_amba-ServiceApiLatency-threshold-Override_NumberGreaterThan1000331
microsoft.keyvault/vaultsresourceName-Availability_amba-Availability-threshold-Override_NumberLessThan9094
microsoft.keyvault/vaultsresourceName-CapacityAlert_amba-SaturationShoebox-threshold-Override_NumberGreaterThan7529
microsoft.keyvault/vaultsresourceName-LatencyAlert_amba-ServiceApiLatency-threshold-Override_NumberGreaterThan1000807
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_NumberGreaterThan7512
Microsoft.Network/applicationgatewaysresourceName-agComputeUnits_amba-ComputeUnits-threshold-Override_NumberGreaterThan7532
Microsoft.Network/applicationgatewaysresourceName-agCpuUtilization_amba-CpuUtilization-threshold-Override_NumberGreaterThan8055
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_NumberGreaterThan208
Microsoft.Network/azureFirewallsresourceName-ApplicationRuleHit_amba-ApplicationRuleHit-threshold-Override_NumberGreaterThan504
Microsoft.Network/azureFirewallsresourceName-FirewallHealth_amba-FirewallHealth-threshold-Override_NumberLessThan9091
Microsoft.Network/azureFirewallsresourceName-NetworkRuleHit_amba-NetworkRuleHit-threshold-Override_NumberGreaterThan5037
Microsoft.Network/azureFirewallsresourceName-SNATPortUtilization_amba-SNATPortUtilization-threshold-Override_NumberGreaterThan8035
Microsoft.Network/expressRouteCircuitsresourceName-ArpAvailability_amba-ArpAvailability-threshold-Override_NumberLessThan90101
Microsoft.Network/expressRouteCircuitsresourceName-BgpAvailability_amba-BgpAvailability-threshold-Override_NumberLessThan90105
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_NumberLessThan111
Microsoft.Network/expressroutegatewaysresourceName-GatewayERCPUAlert_amba-ExpressRouteGatewayCpuUtilization-threshold-Override_NumberGreaterThan8040
Microsoft.Network/expressroutegatewaysresourceName-ExpressRouteGatewayActiveFlowsAlert_amba-ExpressRouteGatewayActiveFlows-threshold-Override_NumberGreaterThan20000047717
Microsoft.Network/expressRoutePortsresourceName-DirectERBitsInAlert_amba-PortBitsInPerSecond-threshold-Override_NumberLessThan112
Microsoft.Network/expressRoutePortsresourceName-DirectERBitsOutAlert_amba-PortBitsOutPerSecond-threshold-Override_NumberLessThan112
Microsoft.Network/expressRoutePortsresourceName-DirectERLineProtocolAlert_amba-LineProtocol-threshold-Override_NumberLessThan0.911
Microsoft.Network/expressRoutePortsresourceName-DirectERRxLightLevelHighAlert_amba-RxLightLevel-High-threshold-Override_NumberGreaterThan04
Microsoft.Network/expressRoutePortsresourceName-DirectERRxLightLevelLowAlert_amba-RxLightLevel-Low-threshold-Override_NumberLessThan-1011
Microsoft.Network/expressRoutePortsresourceName-DirectERTxLightLevelHighAlert_amba-TxLightLevel-High-threshold-Override_NumberGreaterThan05
Microsoft.Network/expressRoutePortsresourceName-DirectERTxLightLevelLowAlert_amba-TxLightLevel-Low-threshold-Override_NumberLessThan-1012
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_NumberLessThan9098
Microsoft.Network/loadBalancersresourceName-ALBGlobalBackendAvailability_amba-GlobalBackendAvailability-threshold-Override_NumberLessThan90100
Microsoft.Network/loadBalancersresourceName-ALBHealthProbeStatus_amba-DipAvailability-threshold-Override_NumberLessThan90100
Microsoft.Network/loadBalancersresourceName-ALBUsedSNATPorts_amba-UsedSNATPorts-threshold-Override_NumberGreaterThan900694
microsoft.network/p2svpngatewaysresourceName-P2SBandwidthAlert_amba-P2SBandwidth-threshold-Override_NumberGreaterThan99009480
microsoft.network/p2svpngatewaysresourceName-P2SConnectionCountAlert_amba-P2SConnectionCount-threshold-Override_NumberGreaterThan9900032614
microsoft.network/p2svpngatewaysresourceName-UserVpnRouteCountAlert_amba-UserVpnRouteCount-threshold-Override_NumberGreaterThan99001614
Microsoft.Network/privateDnsZonesresourceName-CapacityUtilizationAlert_amba-VirtualNetworkLinkCapacityUtilization-threshold-Override_NumberGreaterThanOrEqual8061
Microsoft.Network/privateDnsZonesresourceName-QueryVolumeAlert_amba-QueryVolume-threshold-Override_NumberGreaterThanOrEqual500262
Microsoft.Network/privateDnsZonesresourceName-RecordSet_Capacity_Utilization_amba-RecordSetCapacityUtilization-threshold-Override_NumberGreaterThanOrEqual8040
Microsoft.Network/privateDnsZonesresourceName-RequestsAlert_amba-VirtualNetworkWithRegistrationCapacityUtilization-threshold-Override_NumberGreaterThanOrEqual8065
Microsoft.Network/publicIPAddressesresourceName-BytesInDDOSAlert_amba-bytesinddos-threshold-Override_NumberGreaterThan8000000657366
Microsoft.Network/publicIPAddressesresourceName-DDOS_Attack_amba-ifunderddosattack-threshold-Override_NumberGreaterThan04
Microsoft.Network/publicIPAddressesresourceName-PacketsInDDosAlert_amba-PacketsInDDoS-threshold-Override_NumberGreaterThanOrEqual4000015354
Microsoft.Network/publicIPAddressesresourceName-VIPAvailabityAlert_amba-VipAvailability-threshold-Override_NumberLessThan9093
Microsoft.Network/trafficmanagerprofilesresourceName-EndpointHealthAlert_amba-EndpointHealth-threshold-Override_NumberLessThan0.912
microsoft.network/virtualhubsresourceName-BgpPeerStatusAlert_amba-bgppeerstatus-threshold-Override_NumberLessThan111
microsoft.network/virtualhubsresourceName-CountOfRoutesAdvertisedToPeerAlert_amba-CountOfRoutesAdvertisedToPeer-threshold-Override_NumberGreaterThan1000566
microsoft.network/virtualhubsresourceName-CountOfRoutesLearnedFromPeerAlert_amba-CountOfRoutesLearnedFromPeer-threshold-Override_NumberGreaterThan1000135
microsoft.network/virtualhubsresourceName-RoutingInfrastructureUnitsAlert_amba-RoutingInfrastructureUnits-threshold-Override_NumberGreaterThan3026
microsoft.network/virtualhubsresourceName-SpokeVMUtilizationAlert_amba-SpokeVMUtilization-threshold-Override_NumberGreaterThan9016
microsoft.network/virtualhubsresourceName-VirtualHubDataProcessedAlert_amba-VirtualHubDataProcessed-threshold-Override_NumberGreaterThan5000606
Microsoft.Network/virtualNetworkGatewaysresourceName-TunnelBandwidthAlert_amba-TunnelAverageBandwidth-threshold-Override_NumberLessThan111
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_NumberLessThan112
Microsoft.Network/virtualNetworkGatewaysresourceName-GatewayERCPUAlert_amba-ExpressRouteGatewayCpuUtilization-threshold-Override_NumberGreaterThan800
Microsoft.Network/virtualNetworkGatewaysresourceName-TunnelIngressAlert_amba-TunnelIngressBytes-threshold-Override_NumberLessThan111
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_NumberGreaterThan05
microsoft.network/vpngatewaysresourceName-GatewayBandwidthAlert_amba-tunnelaveragebandwidth-threshold-Override_NumberLessThan111
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_NumberLessThan112
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_NumberLessThan90105
Microsoft.Web/serverfarmsresourceName-CpuPercentage_amba-CpuPercentage-threshold-Override_NumberGreaterThan902
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_NumberGreaterThan8518