Proactively monitor ARM-based Windows Virtual Desktop with Azure Log Analytics and Azure Monitor

%3CLINGO-SUB%20id%3D%22lingo-sub-1509978%22%20slang%3D%22en-US%22%3EProactively%20monitor%20ARM-based%20Windows%20Virtual%20Desktop%20with%20Azure%20Log%20Analytics%20and%20Azure%20Monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1509978%22%20slang%3D%22en-US%22%3E%3CH2%20id%3D%22toc-hId--1301672763%22%20id%3D%22toc-hId--1301672763%22%20id%3D%22toc-hId--1301672763%22%20id%3D%22toc-hId--1301672763%22%20id%3D%22toc-hId--1301672763%22%20id%3D%22toc-hId--1301672787%22%3E%3CBR%20%2F%3E%3CSTRONG%3EProactively%20monitor%20ARM-based%20Windows%20Virtual%20Desktop%20with%20Azure%20Log%20Analytics%20and%20Azure%20Monitor%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20post%2C%20we%E2%80%99ll%20explain%20how%20to%20configure%20Azure%20Monitor%20with%20Azure%20Log%20Analytics%20in%20Microsoft%20Azure%2C%20so%20you%20can%20proactively%20monitor%20your%20Azure%20Resource%20Manager%20(ARM)-based%20Windows%20Virtual%20Desktop%20environment.%3CBR%20%2F%3EAs%20shown%20in%20the%20diagram%20below%2C%20Azure%20Monitor%20can%20collect%20diagnostic%20data%20and%20operational%20insights%20from%20a%20variety%20of%20sources.%20You%20can%20monitor%20data%20for%20your%20workspace%20and%20virtual%20machine%20(VM)%20performance%20as%20well%20as%20tiered%20session%20information%20from%20your%20host%20pools%2C%20operating%20system%20and%20the%20services%20it%20relies%20on%2C%20and%20the%20platform%20itself.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBy%20following%20the%20steps%20in%20this%20post%2C%20you%20can%20create%20a%20dashboard%20that%20provides%20access%20to%20insights%20about%20key%20elements%20of%20your%20Windows%20Virtual%20Desktop%20deployment%2C%20such%20as%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESession%20details%3C%2FLI%3E%0A%3CLI%3ESession%20diagnostics%3C%2FLI%3E%0A%3CLI%3EUser%20specific%20reporting%3C%2FLI%3E%0A%3CLI%3ESession%20performance%3C%2FLI%3E%0A%3CLI%3EHost%20performance%3C%2FLI%3E%0A%3CLI%3EDisk%20performance%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ERead%20the%20complete%20article%20here%3A%20-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-it-pro-blog%2Fproactively-monitor-arm-based-windows-virtual-desktop-with-azure%2Fba-p%2F1508735%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-it-pro-blog%2Fproactively-monitor-arm-based-windows-virtual-desktop-with-azure%2Fba-p%2F1508735%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222020-07-10%2015_11_45-Untitled%20-%20Notepad.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F204596iDBDA4272A3CBD256%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%222020-07-10%2015_11_45-Untitled%20-%20Notepad.png%22%20alt%3D%222020-07-10%2015_11_45-Untitled%20-%20Notepad.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1509978%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWVD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1528923%22%20slang%3D%22en-US%22%3ERe%3A%20Proactively%20monitor%20ARM-based%20Windows%20Virtual%20Desktop%20with%20Azure%20Log%20Analytics%20and%20Azure%20Monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1528923%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F491899%22%20target%3D%22_blank%22%3E%40Christiaan_Brinkhoff%3C%2FA%3E%26nbsp%3BReally%20cool!%3CBR%20%2F%3EIn%20WVD%20Fall%202019%20I%20used%20%22Get-RdsDiagnosticActivities%22%20to%20get%20similar%20data%20but%20in%20the%20new%20version%2C%20this%20cmdlet%20does%20not%20exist.%20Do%20you%20know%20if%20we%20will%20have%20a%20new%20cmdlet%20compatible%20with%20WVD%202020%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1540702%22%20slang%3D%22en-US%22%3ERe%3A%20Proactively%20monitor%20ARM-based%20Windows%20Virtual%20Desktop%20with%20Azure%20Log%20Analytics%20and%20Azure%20Monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1540702%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F524434%22%20target%3D%22_blank%22%3E%40manuelpflx%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Efor%20the%20ARM%20version%20of%20WVD%20we%20rely%20fully%20on%20the%20much%20broader%20capabilities%20of%20Log%20Analytics.%20To%20just%20get%20WVD%20related%20diagnostics%20data%2C%20you%20can%20have%20a%20look%20at%20this%20article%20that%20describes%20the%20configuration%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fdiagnostics-log-analytics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fdiagnostics-log-analytics%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1540725%22%20slang%3D%22en-US%22%3ERe%3A%20Proactively%20monitor%20ARM-based%20Windows%20Virtual%20Desktop%20with%20Azure%20Log%20Analytics%20and%20Azure%20Monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1540725%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F265764%22%20target%3D%22_blank%22%3E%40Claus_Emrich%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20info%20%3B)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20understand%20Log%20Analytics%20is%20powerful%20solution%20to%20get%20information%20about%20WVD%20but%26nbsp%3BI'm%20asking%20if%20I%20can%20get%20some%20information%20that%20I%20obtained%20in%20WVD%20v1%20with%20Powershell%2C%20for%20example%2C%20last%20connections.%26nbsp%3BIs%20there%20any%20alternative%20that%20is%20not%20Log%20Analytics%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1540873%22%20slang%3D%22en-US%22%3ERe%3A%20Proactively%20monitor%20ARM-based%20Windows%20Virtual%20Desktop%20with%20Azure%20Log%20Analytics%20and%20Azure%20Monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1540873%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F524434%22%20target%3D%22_blank%22%3E%40manuelpflx%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20part%20of%20the%20diagnostic%20settings%2C%20you%20can%20also%20write%20the%20data%20to%20an%20Azure%20storage%20account%20or%20stream%20it%20to%20an%20event%20hub.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft


Proactively monitor ARM-based Windows Virtual Desktop with Azure Log Analytics and Azure Monitor

 

In this post, we’ll explain how to configure Azure Monitor with Azure Log Analytics in Microsoft Azure, so you can proactively monitor your Azure Resource Manager (ARM)-based Windows Virtual Desktop environment.

As shown in the diagram below, Azure Monitor can collect diagnostic data and operational insights from a variety of sources. You can monitor data for your workspace and virtual machine (VM) performance as well as tiered session information from your host pools, operating system and the services it relies on, and the platform itself.

 

By following the steps in this post, you can create a dashboard that provides access to insights about key elements of your Windows Virtual Desktop deployment, such as:

 

  • Session details
  • Session diagnostics
  • User specific reporting
  • Session performance
  • Host performance
  • Disk performance

Read the complete article here: https://techcommunity.microsoft.com/t5/windows-it-pro-blog/proactively-monitor-arm-based-windows-vir...

 

2020-07-10 15_11_45-Untitled - Notepad.png

4 Replies

@Christiaan_Brinkhoff Really cool!
In WVD Fall 2019 I used "Get-RdsDiagnosticActivities" to get similar data but in the new version, this cmdlet does not exist. Do you know if we will have a new cmdlet compatible with WVD 2020?

 

Thanks ;)

@manuelpflx 

for the ARM version of WVD we rely fully on the much broader capabilities of Log Analytics. To just get WVD related diagnostics data, you can have a look at this article that describes the configuration:
https://docs.microsoft.com/en-us/azure/virtual-desktop/diagnostics-log-analytics

@Claus_Emrich 

 

Thanks for the info ;) 

 

I understand Log Analytics is powerful solution to get information about WVD but I'm asking if I can get some information that I obtained in WVD v1 with Powershell, for example, last connections. Is there any alternative that is not Log Analytics?

 

Regards,

@manuelpflx 

As part of the diagnostic settings, you can also write the data to an Azure storage account or stream it to an event hub.