Forum Discussion

MS_Clouder's avatar
MS_Clouder
Copper Contributor
Mar 19, 2020

No diagnostics activities

Hi,

 

Currently, I work on Windows Virtual Desktop deployment in my company.

I would like to understand how it is possible to use diagnostics tool or diagnostics powershell commands.

Before implementing a diagnostics tool, I tried to use powershell command : Get-RdsDiagnosticActivities.

This command works but all the time, its output is always the same : There were no activities found.

 

Can you help me to troubleshoot my troubleshoot command? (Inception :smile:)

 

Thanks,

  • MS_Clouder 

     

    This looks like a service issue at the moment:  

     

    https://app.azure.com/h/9VQ0-D88/01e80c

     

    However, if you have Log Analytics working, the following query is awesome: 

     

    WVDActivityV1_CL
    | where Type_s == "Connection"
    | join kind=leftouter (
        WVDErrorV1_CL
        | summarize Errors = makelist(pack('Time', Time_t, 'Code', ErrorCode_s , 'CodeSymbolic', ErrorCodeSymbolic_s, 'Message', ErrorMessage_s, 'ReportedBy', ReportedBy_s , 'Internal', ErrorInternal_s )) by ActivityId_g
        ) on $left.Id_g  == $right.ActivityId_g 
    | join  kind=leftouter (
        WVDCheckpointV1_CL
        | summarize Checkpoints = makelist(pack('Time', Time_t, 'ReportedBy', ReportedBy_s, 'Name', Name_s, 'Parameters', Parameters_s) ) by ActivityId_g
        ) on $left.Id_g  == $right.ActivityId_g
    |project-away ActivityId_g, ActivityId_g1

     

    What this doesn't do - is provide access for the diagnostics website.  It looks like that is also broken at the moment.

  • douglind1's avatar
    douglind1
    Copper Contributor

    MS_Clouder 

     

    This looks like a service issue at the moment:  

     

    https://app.azure.com/h/9VQ0-D88/01e80c

     

    However, if you have Log Analytics working, the following query is awesome: 

     

    WVDActivityV1_CL
    | where Type_s == "Connection"
    | join kind=leftouter (
        WVDErrorV1_CL
        | summarize Errors = makelist(pack('Time', Time_t, 'Code', ErrorCode_s , 'CodeSymbolic', ErrorCodeSymbolic_s, 'Message', ErrorMessage_s, 'ReportedBy', ReportedBy_s , 'Internal', ErrorInternal_s )) by ActivityId_g
        ) on $left.Id_g  == $right.ActivityId_g 
    | join  kind=leftouter (
        WVDCheckpointV1_CL
        | summarize Checkpoints = makelist(pack('Time', Time_t, 'ReportedBy', ReportedBy_s, 'Name', Name_s, 'Parameters', Parameters_s) ) by ActivityId_g
        ) on $left.Id_g  == $right.ActivityId_g
    |project-away ActivityId_g, ActivityId_g1

     

    What this doesn't do - is provide access for the diagnostics website.  It looks like that is also broken at the moment.

    • MS_Clouder's avatar
      MS_Clouder
      Copper Contributor

      douglind1 Thank you very much for your reply and your query!

      Pending resolution of the service issue, I can use this request.

Resources