Configuring the Host Pool Logs to be Sent to a Log Analytics Workspace

To configure a Log Analytics Workspace as the destination for host pool logs of the target Azure subscription, do the following:

  1. Login to the Microsoft Azure Portal and click on the Host pools option as indicated by Figure 1.

    Figure 1 : Clicking on the Host pools option

  1. Figure 2 will then appear displaying the properties of the group. Keep scrolling down the left panel of Figure 2, until a Monitoring section comes into view. Click on the Diagnostic Settings option under Monitoring (see Figure 2).

    Figure 2 : Selecting the Diagnostic Settings option

  1. Figure 3 will then appear. Select the Add diagnostic settingoption in Figure 3.

    Figure 3 : Clicking on the Add diagnostic setting option

  1. Use the Diagnostics setting page that then appears to configure the logs that are to be collected (see Figure 4).

    Figure 4 : Adding a diagnostic setting for the chosen host pool

  1. To add a diagnostic setting for the chosen host pool, first, provide a unique Diagnostic setting name.

  2. Then, under Log, select the allLogs check box, so that all activities related to the chosen host pool are logged.

  3. 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.

  1. Finally, to save the configuration, click on the Save button.

  2. Make sure that you repeat steps 1-8 for every AVD host pool that you want monitored.