Task 2: Enable diagnostic settings
-
Return to the Microsoft Azure portal home page, under Resources, select azureaixxxx.
-
On the azureaixxxx blade, in the navigation pane, expand Monitoring and then select Diagnostic settings.
-
On the Diagnostic settings blade, select Add diagnostic settings.
-
On the next Diagnostic settings blade, in the Diagnostic setting name field, enter DiagnosticSettingxxxx.
-
Under Logs, select the allLogs checkbox.
-
Under Metrics, select the AllMetrics checkbox.
-
Under Destination details, select the Send to Log Analytics workspace checkbox.
-
In the Subscriptions dropdown list, verify your lab subscription is selected.
-
In the Log Analytics workspace dropdown list, select LAWorkspacexxxx, and then select Save.