Questions tagged [azure-alerts]

Questions about Alerts in Azure.

What are alerts in Microsoft Azure?

Alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues before the users of your system notice them.

You can alert on metrics and logs, as described in monitoring data sources. These include but are not limited to:

  • Metric values
  • Log search queries
  • Activity log events
  • Health of the underlying Azure platform
  • Tests for website availability

For more information about Alerts in Azure, see the alerts overview documentation.

175 questions
0
votes
0 answers

Invalid setting error for activity log alerts ARM Template

Getting below error for deploying action group and alert rule. Action group deploys successfully but alert rule is failing deployment.Any help will be appreciated to resolve these issues. No issue creating through the portal. Issue is seen when…
Jed
  • 1
  • 1
0
votes
1 answer

Azure App Service Alerts Specific for HTTP 302 Response Code

I have a Azure App Service and I want to set up Alerts if the app responds back with HTTP 302(I need to capture this). I know there is a signal called HTTP 3xx but thats too broad because my app does use other 3xx codes in positive scenario. Is…
0
votes
1 answer

Azure alert not triggered when number of running pods drop set value

I have an Azure alert set up as follows: Signal: Pod Count Dimension: Kubernetes namesapce, phase Aggregation: Minimum pods less than 10 Alert group: Selected to send an email Please refer to the screenshot below: However, even when I have 9 pods…
HelmBurger
  • 1,168
  • 5
  • 15
  • 35
0
votes
1 answer

Disable Azure Alert Rule using Powershell

I am trying to disable an Azure alert rule via Powershell, which will eventually go into a runbook, scheduled every week. Connect-AzAccount Set-AzContext -Subscription "" # Specify the resource group and name of the alert rule to…
0
votes
1 answer

Azure Alert when a user is added or removed from Azure Active Directory Group

I'm trying to create an Azure Alert to notify me when someone adds a user to an Azure Active Directory Group. I found the query below but its not working SecurityEvent | where EventID in (4728, 4729, 4732, 4733, 4756, 4757) and TargetAccount…
user770022
  • 2,899
  • 19
  • 52
  • 79
0
votes
1 answer

List active Azure Monitor Alerts using the Azure CLI

I'm trying to figure out if there is way of listing active (fired) alerts using the Azure CLI? I've found this command: az monitor metrics alert list which will list all of the alerts. However, there seems to be no information in that which tells me…
Joel
  • 8,502
  • 11
  • 66
  • 115
0
votes
1 answer

Unable to configure azure log alerts on ContainerLog KQL query's aggregated field

I'm trying to set up an Azure alert rule on a kusto query below: ContainerLog | parse-where LogEntry with * '//example.output ' Total:decimal ' ' Used:decimal ' ' | summarize avg_capacity=sum(Used)/sum(Total)*100 by TimeGenerated The query works…
0
votes
1 answer

What type of Azure Alert Signal do I use for ILogger's LogWarning, LogInformation and LogDebug?

I've setup my web app to use Application Insights and I'm receiving the data in the Azure portal. I've also set up Application Insights Logging with .NET and I can now create alerts and have an action created for sending myself an email when…
chuckd
  • 13,460
  • 29
  • 152
  • 331
0
votes
1 answer

Create a log alert from Azure CLI

I need to create an alert from Azure CLI (no access to portal), using a "custom log search" signal on containerLogV2 to see if there are any exceptions in any of my containers. I have an action group which I need to use for sending emails and sms. I…
Parth Sekar
  • 164
  • 8
0
votes
1 answer

Metrics are not an option when creating an Azure alert rule

I can see the BGP metric I want to monitor in Azure but if I try to create an alert, there are no options for metrics after selecting the resource. Here is an example of the metric: After selecting the virtual hub as the scope, these are the only…
rev_it_up
  • 75
  • 2
  • 11
0
votes
0 answers

How to get alert's query output in logic app?

I am trying to get an output of the query which has triggered an alert in the logic app ( to parse it and send an email to specific receiver). I can't run the query itself in the logic app, I have to get result from an allert. I'm defining the logic…
Grzegorzg
  • 659
  • 1
  • 4
  • 17
0
votes
1 answer

how to add azure alerts when we get server error

I need to set an azure alert to my azure function http triggered. When I have an internal server error (500) then I need to send an alert email to a group of emails. How to create a azure dash board to get the number of hits to an API. need a…
0
votes
1 answer

Subscription not registered in location 'West Europe'

I have created a smart detection alert for my application insights. When deploying, I receive the following error message: "message": "The subscription is not registered for the resource type 'smartDetectorAlertRules' in the location 'westeurope'.…
0
votes
1 answer

Log Query Alert Example

I am designing a monitoring solution for a project and would like to create some alert rules for certain resources (for example application insights). If I'd like to set up a log search alert, I need to define a specific query and tell the alert…
0
votes
1 answer

Alerts with Azure Monitor Agent Metrics

I am using the Azure Monitor Agent (AMA) to monitor a virtual machine. I need to make an alert if the free disk is less than 10%. For this purpose i'm using the guest metric "disk/free_percent", with mean as type of data aggregation. On the graph,…