

{"id":108708,"date":"2022-06-03T09:00:26","date_gmt":"2022-06-03T03:30:26","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=108708"},"modified":"2022-06-03T10:28:50","modified_gmt":"2022-06-03T04:58:50","slug":"azure-setting-up-alert-rules","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/","title":{"rendered":"How to Configure Alert Rules in Azure?"},"content":{"rendered":"<p>Today we will learn what are alerts and how one can set up alert rules in Azure. Alerts help us to set the limitation on the resources and will notify us if their usage is exceeded. So, without wasting time let us look at setting up alert rules in Azure. Let us begin.<\/p>\n<h3>What are Microsoft Azure alerts?<\/h3>\n<p>Using your monitoring data in Azure Monitor, alerts will warn you when issues with your infrastructure or application are discovered.<br \/>\nThey let you detect and resolve problems before your system&#8217;s users are aware of them.<\/p>\n<p>Alert rules are distinct from alerts and the activities conducted in response to an alert. The target and conditions for alerting are captured in the alert rule.<\/p>\n<p>The status of the alert rule might be activated or disabled. Alerts are only activated when they are enabled.<br \/>\nThe following are important characteristics of an alert rule:<\/p>\n<p>Target Resource &#8211; Defines the alerting scope and signals provided. Any Azure resource can be used as a target. The following are some examples of targets:<\/p>\n<ul>\n<li>Virtual machines.<\/li>\n<li>Storage accounts.<\/li>\n<li>Log Analytics workspace.<\/li>\n<li>Application Insights.<\/li>\n<\/ul>\n<p>You can specify several resources as the target of an alert rule for certain resources (such as virtual machines).<\/p>\n<p>The target resource sends out a signal. Metrics, activity logs, Application Insights, and logs are all examples of signal types.<\/p>\n<p><strong>Criteria<\/strong> &#8211; A signal and logic combination applied to a target resource. Examples:<\/p>\n<ul>\n<li>Percentage CPU &gt; 80%<\/li>\n<li>Server Response Time &gt; 4 ms<\/li>\n<li>Result count of a log query &gt; 100<\/li>\n<\/ul>\n<p><strong>Alert Name<\/strong> &#8211; A unique name for the alert rule that the user has created.<\/p>\n<p><strong>Alert Description<\/strong> &#8211; This is a description of the alert rule that the user has set up.<\/p>\n<p>When the requirements given in the alert rule are met, the severity of the alert is determined. The severity scale goes from 0 to 4.<\/p>\n<ul>\n<li>Sev 0 = Critical<\/li>\n<li>Sev 1 = Error<\/li>\n<li>Sev 2 = Warning<\/li>\n<li>Sev 3 = Informational<\/li>\n<li>Sev 4 = Verbose<\/li>\n<\/ul>\n<p><strong>Action<\/strong> &#8211; A specific action will be taken when the alert is triggered<\/p>\n<h3>Alerts in Azure Monitor<\/h3>\n<p>The data collected by Azure monitor from our application and services are used by alerts in Azure monitor to warn administrators when an anomaly or issue based on particular thresholds is discovered. This allows us to take the appropriate steps to resolve the problem before the end-user becomes aware of it.<\/p>\n<p>The following are the important attributes of an alert in Azure Monitor:<\/p>\n<ul>\n<li>Target resource<\/li>\n<li>Criteria<\/li>\n<li>Signal<\/li>\n<li>Alert name<\/li>\n<li>Severity<\/li>\n<li>Alert description<\/li>\n<li>Action<\/li>\n<\/ul>\n<h3>How to create alert rule on Virtual Machine in Azure<\/h3>\n<p>Below are the steps to create alert rule on a virtual machine in Azure:<\/p>\n<p><strong>1<\/strong>: Navigate to your virtual machine&#8217;s &#8216;Monitoring&#8217; section.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/monitoring-section.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109578\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/monitoring-section.webp\" alt=\"monitoring section\" width=\"222\" height=\"275\" \/><\/a><\/p>\n<p><strong>2<\/strong>: To add a new alert, go to the Alerts menu and select + New alert rule.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-new-alert.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109579\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-new-alert.webp\" alt=\"creating new alert\" width=\"1058\" height=\"524\" \/><\/a><\/p>\n<p><strong>3<\/strong>: Next, click Select scope to choose a resource for which we want to receive an alert. To find a resource, we simply type its name into the search bar.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/selecting-resource.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109580\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/selecting-resource.webp\" alt=\"selecting resource\" width=\"1365\" height=\"654\" \/><\/a><\/p>\n<p><strong>4<\/strong>: If the selected target resource provides metrics for which we may produce alerts, those metrics will be included in the accessible signals on the bottom right. This aids us in selecting the appropriate target resource for our requirements.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/adding-signal.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109581\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/adding-signal.webp\" alt=\"adding signal\" width=\"1366\" height=\"650\" \/><\/a><\/p>\n<p><strong>5<\/strong>: After we&#8217;ve chosen a target resource, we can use the Add condition option to see a list of signals that the resource supports ( signals are of the following types: metric, activity log, Application Insights, and log). Choose the measure for which we want to set up an alert.<\/p>\n<p><strong>6<\/strong>: By default, it will show a chart for the target resource&#8217;s chosen statistic for the previous six hours. We can use the chart period dropdown to get a long history for the statistic.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/chart.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109582\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/chart.webp\" alt=\"configure signal logic\" width=\"825\" height=\"526\" \/><\/a><\/p>\n<p><strong>7<\/strong>: Finally, pick the threshold type, operator, and aggregate type, as well as the threshold value\/sensitivity based on the threshold type chosen, to set the logic that the metric alert rule will analyze and activate.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/alert-logic.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109583\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/alert-logic.webp\" alt=\"alert logic\" width=\"824\" height=\"355\" \/><\/a><\/p>\n<p><strong>8<\/strong>: If you already have an action group, you can add it to the alert rule by clicking Add action group.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-alert-rule.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109584\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-alert-rule.webp\" alt=\"creating alert rule\" width=\"1074\" height=\"598\" \/><\/a><\/p>\n<p><strong>9<\/strong>: If your subscription doesn&#8217;t already have an action group to choose from, click Create action group to make one. Give the action group a Subscription and Resource group, as well as an Action group name that will display on the portal and a Display name that will appear in email and SMS notifications.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-action-group.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109585\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-action-group.webp\" alt=\"creating action group\" width=\"989\" height=\"556\" \/><\/a><\/p>\n<p><strong>10<\/strong>: When the alert is fired, go to Notifications and add one or more methods to notify the right persons.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-notification.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109586\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-notification.webp\" alt=\"creating notification\" width=\"1366\" height=\"615\" \/><\/a><\/p>\n<p><strong>11<\/strong>: The next section is Actions, where we can choose from a variety of action types or leave the options blank. When an action group is activated, actions are taken. Now, Select Next Tags from the drop-down menu.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/action-types.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109587\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/action-types.webp\" alt=\"action types\" width=\"1157\" height=\"646\" \/><\/a><\/p>\n<p><strong>12<\/strong>: Give the name of the key and its value. Select Next Review + Create from the drop-down menu.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/tags.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109591\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/tags.webp\" alt=\"tags\" width=\"961\" height=\"520\" \/><\/a><\/p>\n<p><strong>13<\/strong>: Click on the Create button.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/reviewing-details.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109592\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/reviewing-details.webp\" alt=\"reviewing details\" width=\"974\" height=\"595\" \/><\/a><\/p>\n<p><strong>14<\/strong>: Next, provide the name of the alert rule, the alert description, the subscription id, and the resource group.<\/p>\n<p><strong>15<\/strong>: Choose the Severity.<\/p>\n<p>For example:<\/p>\n<ul>\n<li>Sev 0 = Critical<\/li>\n<li>Sev 1 = Error<\/li>\n<li>Sev 2 = Warning<\/li>\n<li>Sev 3 = Informational<\/li>\n<li>Sev 4 = Verbose.<\/li>\n<\/ul>\n<p><strong>16<\/strong>: Now, click on create alert rule.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-alert-rule-1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109593\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/creating-alert-rule-1.webp\" alt=\"creating alert rule\" width=\"1074\" height=\"598\" \/><\/a><\/p>\n<p><strong>17<\/strong>: Once again provide appropriate tags.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/tags.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109591\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/tags.webp\" alt=\"tags\" width=\"961\" height=\"520\" \/><\/a><\/p>\n<p><strong>18<\/strong>: Lastly, hit the Review and Create button.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/review-and-create.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109589\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/review-and-create.webp\" alt=\"review and create\" width=\"701\" height=\"567\" \/><\/a><\/p>\n<p><strong>19<\/strong>: After some time has passed, the alert will be ready. Go to the Alert home page and check the alert rule. If an alarm is triggered, we will receive an alert email. Check your email account for the alert email.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/alert-rules.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109594\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/alert-rules.webp\" alt=\"alert rules\" width=\"1363\" height=\"632\" \/><\/a><\/p>\n<h3>Alert Types in Azure<\/h3>\n<p>Now, let us have a look at the various Alert Types in Azure. They are as follows:<\/p>\n<h4>1. Azure Metric Alerts<\/h4>\n<p>Metric alerts are used to keep an eye on Azure resources on a regular basis. At regular intervals, Azure Monitor runs metric alert trigger conditions.<\/p>\n<p>Azure Monitor sends a notification when the evaluation is true. Metric alerts are stateful, and Azure Monitor will only deliver a message if all of the conditions are met.<\/p>\n<p>Metric alerts are important if you need to know when your server&#8217;s CPU utilization reaches a crucial level of 90%, for example. You can be notified if your database storage is running low or if network latency is approaching unacceptably high levels.<\/p>\n<h4>2. Azure Log Alerts<\/h4>\n<p>Log alerts examine rule logic and, if appropriate, issue an alarm using log data. Any Azure resource, such as server logs, application server logs, or application logs, can provide this information.<\/p>\n<p>Because log data is historical by definition, its use is limited to analytics and trends.<\/p>\n<p>These logs can be used to see whether any of your servers have exceeded a certain threshold for CPU use in the last 30 minutes.<\/p>\n<p>You may also look at the response codes that your web application server has issued in the last hour.<\/p>\n<h4>3. Azure Activity Log Alerts<\/h4>\n<p>You can set up activity log alerts to be notified when a specific event occurs on an Azure resource.<\/p>\n<p>You can be notified when someone starts a new VM in a subscription, for example. Alerts for Azure service health can also be included in an activity log.<\/p>\n<p>Azure resources are supported via activity log notifications.<\/p>\n<p>This sort of a log is typically used to receive notifications when specific modifications to a resource in your Azure subscription occur.<\/p>\n<h3>Designing an Azure Alert Rule in the Azure Portal<\/h3>\n<p>When creating new alert rules, there is no better way to understand the impact of your existing rules than to use the Azure Portal. With the historical data you have, you can quickly examine the rule&#8217;s effect and whether it would have triggered as planned.<\/p>\n<p>The UI is extremely useful for defining the signal logic for the alert rule. You can see right away that there have been multiple instances in the last few hours where the alarm would have activated &#8211; proving that the logic works.<\/p>\n<p>After you&#8217;ve defined the rule, go to Azure Monitor&#8217;s &#8220;Alert Rules&#8221; section and click on your new rule, then &#8220;Properties\u201d.<\/p>\n<p>You may easily export your Alert Rule as an ARM template from there. The data is in JSON format, and it will serve as the foundation for our new Bicep alert rule template.<\/p>\n<h3>Converting the ARM alert rule to Bicep<\/h3>\n<p>You can use Bicep to convert the newly exported JSON template. After the conversion is complete, we can make any changes to the code that we see fit and commit them to our code repository.<\/p>\n<p>Here&#8217;s a quick rundown on how to use the Bicep CLI to convert a JSON file to Bicep:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">az bicep decompile -f theARMfile.json\r\n<\/pre>\n<h3>Bicep Alert Rule<\/h3>\n<p>After you&#8217;ve converted the ARM template to a Bicep file, you&#8217;ll need to make any necessary changes for your individual situation before deploying it.<\/p>\n<p>To make it work for this blog post while also working to deploy to any of my Azure subscriptions, we changed the names of parameters and other values.<\/p>\n<p>This is a basic Bicep file that defines an Alert Rule for one of my Azure resources. It is assumed that a Web App and an Action Group are already in place to monitor. Of course, you can make those with Bicep as well.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">resource symbolicname 'Microsoft.Insights\/alertrules@2016-03-01' = {\r\n  name: \u2018value'\r\n  location: 'value'\r\n  tags: {\r\n    tagName1: 'tagValue1'\r\n    tagName2: 'tagValue2'\r\n  }\r\n  properties: {\r\n    action: {\r\n  \todata.type: 'string'\r\n  \t\/\/ For remaining properties, see RuleAction objects\r\n    }\r\n    actions: [\r\n  \t{\r\n    \todata.type: 'string'\r\n    \t\/\/ For remaining properties, see RuleAction objects\r\n  \t}\r\n    ]\r\n    condition: {\r\n  \tdataSource: {\r\n    \tlegacyResourceId: 'value'\r\n    \tmetricNamespace: 'value'\r\n   \t resourceLocation: 'value'\r\n    \tresourceUri: 'value'\r\n    \todata.type: 'value'\r\n    \t\/\/ For remaining properties, see RuleDataSource objects\r\n  \t}\r\n  \todata.type: 'value'\r\n  \t\/\/ For remaining properties, see RuleCondition objects\r\n    }\r\n    description: 'value'\r\n    isEnabled: bool\r\n    name: 'value'\r\n    provisioningState: 'value'\r\n  }\r\n}\r\n<\/pre>\n<h3>Conclusion<\/h3>\n<p>Thus, we are at the final section of our article. And, in this article, we learnt about Alerts in Azure along with a demo. We hope you enjoyed this article too and will be further with us in our Azure series.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we will learn what are alerts and how one can set up alert rules in Azure. Alerts help us to set the limitation on the resources and will notify us if their usage&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":109577,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26500],"tags":[26905,26906,26904],"class_list":["post-108708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure-tutorials","tag-alert-rules-in-azure","tag-alert-types-in-azure","tag-alerts-in-azure-monitor"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Configure Alert Rules in Azure? - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn what are Azure Alerts &amp; its types? See how to create alert rule on Azure Virtual Machine, Design Azure Alert Rule in Azure Portal etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Alert Rules in Azure? - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn what are Azure Alerts &amp; its types? See how to create alert rule on Azure Virtual Machine, Design Azure Alert Rule in Azure Portal etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-03T03:30:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T04:58:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/setting-up-alert-rules-in-azure.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure Alert Rules in Azure? - DataFlair","description":"Learn what are Azure Alerts & its types? See how to create alert rule on Azure Virtual Machine, Design Azure Alert Rule in Azure Portal etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Alert Rules in Azure? - DataFlair","og_description":"Learn what are Azure Alerts & its types? See how to create alert rule on Azure Virtual Machine, Design Azure Alert Rule in Azure Portal etc.","og_url":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-06-03T03:30:26+00:00","article_modified_time":"2022-06-03T04:58:50+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/setting-up-alert-rules-in-azure.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"How to Configure Alert Rules in Azure?","datePublished":"2022-06-03T03:30:26+00:00","dateModified":"2022-06-03T04:58:50+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/"},"wordCount":1537,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/setting-up-alert-rules-in-azure.webp","keywords":["alert rules in Azure","alert types in Azure","Alerts in Azure Monitor"],"articleSection":["Microsoft Azure Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/","url":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/","name":"How to Configure Alert Rules in Azure? - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/setting-up-alert-rules-in-azure.webp","datePublished":"2022-06-03T03:30:26+00:00","dateModified":"2022-06-03T04:58:50+00:00","description":"Learn what are Azure Alerts & its types? See how to create alert rule on Azure Virtual Machine, Design Azure Alert Rule in Azure Portal etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/setting-up-alert-rules-in-azure.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/05\/setting-up-alert-rules-in-azure.webp","width":1200,"height":628,"caption":"setting up alert rules in azure"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/azure-setting-up-alert-rules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Microsoft Azure Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/microsoft-azure-tutorials\/"},{"@type":"ListItem","position":3,"name":"How to Configure Alert Rules in Azure?"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=108708"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108708\/revisions"}],"predecessor-version":[{"id":109597,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108708\/revisions\/109597"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/109577"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=108708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=108708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=108708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}