|
Configuring the Host Pool Logs to be Sent to a Log Analytics Workspace
Typically, to consolidate log entries, correlate log data, and perform complex analysis, a host pool's logs are often sent to one/more Log Analytics Workspaces. This test reports valid metrics by reading data from these Log Analytics Workspaces only. If the host pool's logs are not sent to any Log Analytics Workspace, then this test will only report the value 0 for most of its measures. To avoid this, before configuring this test, make sure that the host pool's logs are configured to be sent to at least one Log Analytics Workspace.
To configure a Log Analytics Workspace as the destination for host pool logs of the target Azure subscription, do the following:
Login to the Microsoft Azure Portal, and click on Host Pools in the Azure services page to view the configured host pools.
Select any of the host pools displayed therein by clicking on it.
A page will then appear displaying the properties of the group. Keep scrolling down the left panel of the page, until a Monitoring section comes into view. Click on the Diagnostic Settings option under Monitoring.
Diagnostic setting page will then appear. Select the Add diagnostic setting option in this page.
Use the Diagnostics setting page that then appears to configure the logs that are to be collected.
To add a diagnostic setting for the chosen host pool, first, provide a unique Diagnostic setting name.
Then, under Log, select the allLogs check box, so that all activities related to the chosen host pool are logged.
Next, select the Send to Log Analytics workspace check box , and then pick the Log Analytics workspace to which the logs are to be sent.
Finally, to save the configuration, click on the Save button.
Make sure that you repeat steps 1-9 for every AVD host pool that you want monitored.
|