You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-desktop/agent-updates-diagnostics.md
+39-17Lines changed: 39 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Set up diagnostics for monitoring agent updates
3
3
description: How to set up diagnostic reports to monitor agent updates.
4
4
author: Sefriend
5
5
ms.topic: how-to
6
-
ms.date: 01/23/2023
6
+
ms.date: 01/31/2023
7
7
ms.author: sefriend
8
8
manager: rkiran
9
9
---
@@ -26,6 +26,28 @@ To enable sending diagnostic logs to your Log Analytics workspace:
26
26
> [!NOTE]
27
27
> The log query results only cover the last 30 days of data in your deployment.
28
28
29
+
## Use diagnostics to see when an update becomes available
30
+
31
+
To see when agent component updates are available:
32
+
33
+
1. Access the logs in your Log Analytics workspace.
34
+
35
+
2. Select the **+** button to create a new query.
36
+
37
+
3. Copy and paste the following Kusto query to see if agent component updates are available for the specified session host. Make sure to change the **sessionHostName** parameter to the name of your session host.
38
+
39
+
> [!NOTE]
40
+
> If you haven't enabled the Scheduled Agent Updates feature, you won't see anything in the NewPackagesAvailable field.
## Use diagnostics to see when agent updates are happening
30
52
31
53
To see when agent updates are happening or to make sure that the Scheduled Agent Updates feature is working:
@@ -36,14 +58,14 @@ To see when agent updates are happening or to make sure that the Scheduled Agent
36
58
37
59
3. Copy and paste the following Kusto query to see when the agent has updated for the specified session host. Make sure to change the **sessionHostName** parameter to the name of your session host.
| summarize arg_min(TimeGenerated, *) by AgentVersion
67
+
| sort by TimeGenerated asc
68
+
```
47
69
48
70
## Use diagnostics to check for unsuccessful agent updates
49
71
@@ -55,14 +77,14 @@ To check if an agent component update was unsuccessful:
55
77
56
78
3. Copy and paste the following Kusto query to see when the agent has updated for the specified session host. Make sure to change the **sessionHostName** parameter to the name of your session host.
0 commit comments