{
    "id": "9d632270-9609-4a74-9d17-c45883d807e9",
    "name": "Configure Diagnostics on Azure Resources",
    "slug": "configure-diagnostics-on-azure-resources",
    "status": "published",
    "lab_type": "azure",
    "is_sample": false,
    "duration_in_seconds": 1200,
    "metadata": {},
    "session": null,
    "company": "a491bc32-c056-4946-9169-cc053387bada",
    "created": "2020-08-11T12:14:04.713346Z",
    "modified": "2023-10-03T18:58:53.572787Z",
    "is_beta": false,
    "lab_objectives": [],
    "main_learning_area": null,
    "learning_areas": [],
    "categories": [],
    "tags": [],
    "difficulty": null,
    "is_web_access": false,
    "is_lab_experience": false,
    "is_featured": false,
    "cve": null,
    "severity": null,
    "year": null,
    "classification": null,
    "is_trackable": false,
    "cpe_credits": null,
    "is_skill_check": false,
    "external_url": "https://portal.azure.com/",
    "solution_video": "1e25084e-8b76-44c8-8aa7-bae3798309c3",
    "explanation_video": null,
    "description": "# Task: Configure Diagnostics on Azure Resources\n\n## Video: Configuring Diagnostics on Resources\n\n**Estimated time:** 30 minutes\n\n## Goal\n\nIn this task you will provision two virtual machines, a web app and a storage account.  You will configure logging for all of the resources.\n\n## Pre-requisites\n\n1. Azure subscription\n\n## Requirements\n\n1. Provision resources\n2. Configure logging\n\n## Requirement 1: Provision resources\n\nYou will begin this task by provisioning the required resources.  Use the following settings for each resource (use defaults for settings unless otherwise specified):\n\n- Virtual machine:\n\n  |Setting|Value|\n  |---|---|\n  |Resource group|**task-diagnostics**|\n  |Name|**windows-VM**|\n  |Image|**Windows Server 2016 Datacenter**|\n  |Size|**Standard D2 v3**|\n  |User name|**student**|\n  |Password|**&lt;strong password&gt;**|\n\n- Virtual machine:\n\n  |Setting|Value|\n  |---|---|\n  |Resource group|**task-diagnostics**|\n  |Name|**linux-VM**|\n  |Image|**Ubuntu server 18.04-LTS**|\n  |Size|**Standard D2 v3**|\n  |Authentication type|**Password**|\n  |User name|**student**|\n  |Password|**&lt;strong password&gt;**|\n\n- Web app:\n\n  |Setting|Value|\n  |---|---|\n  |Resource group|**task-diagnostics**|\n  |Name|**&lt;unique name&gt;**|\n  |Runtime stack|**.NET Core 2.2**|\n  |Operating System|**Windows**|\n  |Sku and size|**Standard S1**|\n  |Enable Application Insights|**No**|\n\n- Storage account:\n\n  |Setting|Value|\n  |---|---|\n  |Resource group|**task-diagnostics**|\n  |Name|**&lt;unique name&gt;**|\n  |Replication|**LRS**|\n\n## Requirement 2: Configure logging\n\nNow you will configure logging for the resources created in requirement 1.  Use the following settings:\n\n- Windows virtual machine:\n  \n  |Setting|Value|\n  |---|---|\n  |Performance counters|**&lt;Basic - select all&gt;**|\n  |Application logs|**Enabled**|\n\n- Linux virtual machine:\n  \n  |Setting|Value|\n  |---|---|\n  |Metrics sample rate|**30 seconds**|\n  |Syslog - LOG_AUTH|**LOG_INFO**|\n\n- Web app:\n\n  |Setting|Value|\n  |---|---|\n  |Application logging||\n  |File System|**On -> Warning**|\n  |Blob|**Off**|\n  |Web server logging|**Storage**|\n  |Storage account|**&lt;your account&gt;**|\n  |Container|**web-diag**|\n  |Retention|**10 days**|\n\n- Storage account:\n\n  |Setting|Value|\n  |---|---|\n  |Blob logging|**Read, Write, Delete**|\n  |Table logging|**Read, Write, Delete**|\n  |Queue logging|**Read, Write, Delete**|\n\n## Clean up\n\n- Delete the **task-diagnostics** resource group.\n\n## Solution\n\nHaving trouble completing this task?  View the demonstration video to see how to do it.\nHere is another line.",
    "description_html": "<h1>Task: Configure Diagnostics on Azure Resources</h1>\n<h2>Video: Configuring Diagnostics on Resources</h2>\n<p><strong>Estimated time:</strong> 30 minutes</p>\n<h2>Goal</h2>\n<p>In this task you will provision two virtual machines, a web app and a storage account.  You will configure logging for all of the resources.</p>\n<h2>Pre-requisites</h2>\n<ol>\n<li>Azure subscription</li>\n</ol>\n<h2>Requirements</h2>\n<ol>\n<li>Provision resources</li>\n<li>Configure logging</li>\n</ol>\n<h2>Requirement 1: Provision resources</h2>\n<p>You will begin this task by provisioning the required resources.  Use the following settings for each resource (use defaults for settings unless otherwise specified):</p>\n<ul>\n<li>Virtual machine:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Resource group</td>\n<td><strong>task-diagnostics</strong></td>\n</tr>\n<tr>\n<td>Name</td>\n<td><strong>windows-VM</strong></td>\n</tr>\n<tr>\n<td>Image</td>\n<td><strong>Windows Server 2016 Datacenter</strong></td>\n</tr>\n<tr>\n<td>Size</td>\n<td><strong>Standard D2 v3</strong></td>\n</tr>\n<tr>\n<td>User name</td>\n<td><strong>student</strong></td>\n</tr>\n<tr>\n<td>Password</td>\n<td><strong>&lt;strong password&gt;</strong></td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Virtual machine:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Resource group</td>\n<td><strong>task-diagnostics</strong></td>\n</tr>\n<tr>\n<td>Name</td>\n<td><strong>linux-VM</strong></td>\n</tr>\n<tr>\n<td>Image</td>\n<td><strong>Ubuntu server 18.04-LTS</strong></td>\n</tr>\n<tr>\n<td>Size</td>\n<td><strong>Standard D2 v3</strong></td>\n</tr>\n<tr>\n<td>Authentication type</td>\n<td><strong>Password</strong></td>\n</tr>\n<tr>\n<td>User name</td>\n<td><strong>student</strong></td>\n</tr>\n<tr>\n<td>Password</td>\n<td><strong>&lt;strong password&gt;</strong></td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Web app:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Resource group</td>\n<td><strong>task-diagnostics</strong></td>\n</tr>\n<tr>\n<td>Name</td>\n<td><strong>&lt;unique name&gt;</strong></td>\n</tr>\n<tr>\n<td>Runtime stack</td>\n<td><strong>.NET Core 2.2</strong></td>\n</tr>\n<tr>\n<td>Operating System</td>\n<td><strong>Windows</strong></td>\n</tr>\n<tr>\n<td>Sku and size</td>\n<td><strong>Standard S1</strong></td>\n</tr>\n<tr>\n<td>Enable Application Insights</td>\n<td><strong>No</strong></td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Storage account:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Resource group</td>\n<td><strong>task-diagnostics</strong></td>\n</tr>\n<tr>\n<td>Name</td>\n<td><strong>&lt;unique name&gt;</strong></td>\n</tr>\n<tr>\n<td>Replication</td>\n<td><strong>LRS</strong></td>\n</tr>\n</tbody>\n</table>\n<h2>Requirement 2: Configure logging</h2>\n<p>Now you will configure logging for the resources created in requirement 1.  Use the following settings:</p>\n<ul>\n<li>Windows virtual machine:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Performance counters</td>\n<td><strong>&lt;Basic - select all&gt;</strong></td>\n</tr>\n<tr>\n<td>Application logs</td>\n<td><strong>Enabled</strong></td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Linux virtual machine:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Metrics sample rate</td>\n<td><strong>30 seconds</strong></td>\n</tr>\n<tr>\n<td>Syslog - LOG_AUTH</td>\n<td><strong>LOG_INFO</strong></td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Web app:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Application logging</td>\n<td></td>\n</tr>\n<tr>\n<td>File System</td>\n<td><strong>On -&gt; Warning</strong></td>\n</tr>\n<tr>\n<td>Blob</td>\n<td><strong>Off</strong></td>\n</tr>\n<tr>\n<td>Web server logging</td>\n<td><strong>Storage</strong></td>\n</tr>\n<tr>\n<td>Storage account</td>\n<td><strong>&lt;your account&gt;</strong></td>\n</tr>\n<tr>\n<td>Container</td>\n<td><strong>web-diag</strong></td>\n</tr>\n<tr>\n<td>Retention</td>\n<td><strong>10 days</strong></td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Storage account:</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Setting</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Blob logging</td>\n<td><strong>Read, Write, Delete</strong></td>\n</tr>\n<tr>\n<td>Table logging</td>\n<td><strong>Read, Write, Delete</strong></td>\n</tr>\n<tr>\n<td>Queue logging</td>\n<td><strong>Read, Write, Delete</strong></td>\n</tr>\n</tbody>\n</table>\n<h2>Clean up</h2>\n<ul>\n<li>Delete the <strong>task-diagnostics</strong> resource group.</li>\n</ul>\n<h2>Solution</h2>\n<p>Having trouble completing this task?  View the demonstration video to see how to do it.\nHere is another line.</p>",
    "tasks": "",
    "tasks_html": "",
    "published_date": "2020-06-16T16:42:39Z",
    "solutions": "",
    "solutions_html": "",
    "flags": [],
    "min_points_to_pass": null,
    "access_type": "default",
    "user_status": "unstarted",
    "user_lab_status": null,
    "user_status_modified": null,
    "user_flags": []
}