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
description: This article tells how to query the logs for Update Management in your Log Analytics workspace.
4
4
services: automation
5
5
ms.subservice: update-management
6
-
ms.date: 09/24/2020
6
+
ms.date: 12/13/2022
7
7
ms.topic: conceptual
8
8
---
9
9
@@ -17,149 +17,130 @@ You can also customize the log queries or use them from different clients. See [
17
17
18
18
Update Management collects records for Windows and Linux VMs and the data types that appear in log search results. The following sections describe those records.
19
19
20
-
### Query required updates
21
-
22
-
A record with a type of `RequiredUpdate` is created that represents updates required by a machine. These records have the properties in the following table:
23
-
24
-
| Property | Description |
25
-
|----------|-------------|
26
-
| Computer | Fully-qualified domain name of reporting machine. |
27
-
| KBID | Knowledge base article ID for the Windows update. |
28
-
| ManagementGroupName | Name of the Operations Manager management group or Log Analytics workspace. |
29
-
| Product | The products for which the update is applicable for. |
30
-
| PublishDate | The date the update is ready to be downloaded and installed from Windows Update. |
31
-
| Server ||
32
-
| SourceHealthServiceId | Unique identifier representing the Log Analytics Windows agent ID. |
33
-
| SourceSystem |*OperationsManager*|
34
-
| TenantId | Unique identifier representing your organizations instance of Azure Active Directory. |
35
-
| TimeGenerated | Date and time that the record was created. |
36
-
| Type |*Update*|
37
-
| UpdateClassification | Indicates the type of updates that can be applied. For Windows:<br> *Critical updates*<br> *Security updates*<br> *Update rollups*<br> *Feature packs*<br> *Service packs*<br> *Definition updates*<br> *Tools*<br> *Updates*. For Linux:<br> *Critical and security updates*<br> *Other*|
38
-
| UpdateSeverity | Severity rating for the vulnerability. Values are:<br> *Critical*<br> *Important*<br> *Moderate*<br> *Low*|
39
-
| UpdateTitle | The title of the update.|
40
20
41
21
### Query Update record
42
22
43
23
A record with a type of `Update` is created that represents updates available and their installation status for a machine. These records have the properties in the following table:
44
24
45
25
| Property | Description |
46
26
|----------|-------------|
47
-
| ApprovalSource | Applies to Windows operating system only. Source of approval for the record. The value is Microsoft Update. |
48
-
| Approved | True if the record is approved, or False otherwise. |
49
-
| Classification | Approval classification. The value is Updates. |
50
-
| Computer | Fully-qualified domain name of reporting machine. |
51
-
| ComputerEnvironment | Environment. Possible values are Azure or Non-Azure. |
52
-
| MSRCBulletinID | Security bulletin ID number. |
53
-
| MSRCSeverity | Severity rating for the vulnerability. Values are:<br> Critical<br> Important<br> Moderate<br> Low |
54
-
| KBID | Knowledge base article ID for the Windows update. |
55
-
| ManagementGroupName | Name of the Operations Manager management group or the Log Analytics workspace. |
56
-
| UpdateID | Unique identifier of the software update. |
57
-
| RevisionNumber | The revision number of a specific revision of an update. |
58
-
| Optional | True if the record is optional, or False otherwise. |
59
-
| RebootBehavior | The reboot behavior after installing/uninstalling an update. |
60
-
|_ResourceId | Unique identifier for the resource associated with the record. |
61
-
| Type | Record type. The value is Update. |
62
-
| VMUUID | Unique identifier for the virtual machine. |
63
-
| MG | Unique identifier for the management group or Log Analytics workspace. |
64
-
| TenantId | Unique identifier representing your organization's instance of Azure Active Directory. |
27
+
| TenantId| Unique identifier representing your organization's instance of Azure Active Directory. |
65
28
| SourceSystem | The source system for the record. The value is `OperationsManager`. |
66
29
| TimeGenerated | Date and time of record creation. |
67
30
| SourceComputerId | Unique identifier representing the source computer. |
68
31
| Title | The title of the update. |
32
+
| Classification | Approval classification. The value is Updates. |
69
33
| PublishedDate (UTC) | The date when the update is ready to be downloaded and installed from Windows Update. |
34
+
| Computer | Fully-qualified domain name of reporting machine. |
70
35
| UpdateState | The current state of the update. |
71
36
| Product | The products for which the update is applicable. |
37
+
| OSType |Type of operating system. Values are Windows or Linux. |
38
+
| ProductVersion| Version of the update. |
39
+
| Product Arch| Applicable machine architecture |
40
+
| CVENumbers| Common Vulnerabilities and Exposures number |
41
+
| BulletinUrl | URL of the Bulletin|
42
+
| BulletinID | Bulletin ID number. |
43
+
| PackageRepository | Repository info of the package.|
44
+
| PackageSeverity | Severity of the update. |
45
+
| OSName | Type of operating system. Values are Windows or Linux.|
46
+
| OSVersion | The version of the operating system. |
47
+
| OSFullName | Name of operating system. |
72
48
| SubscriptionId | Unique identifier for the Azure subscription. |
73
49
| ResourceGroup | Name of the resource group to which the resource belongs. |
74
50
| ResourceProvider | The resource provider. |
75
51
| Resource | Name of the resource. |
52
+
| ResourceId | Unique identifier for the resource associated with the record. |
76
53
| ResourceType | The resource type. |
77
-
78
-
### Query Update Agent record
79
-
80
-
A record with a type of `UpdateAgent` is created that provides details of the update agent on the machine. These records have the properties in the following table:
81
-
82
-
| Property | Description |
83
-
|----------|-------------|
84
-
| AgeofOldestMissingRequiredUpdate ||
85
-
| AutomaticUpdateEnabled ||
86
-
| Computer | Fully-qualified domain name of reporting machine. |
87
-
| DaySinceLastUpdateBucket ||
88
-
| ManagementGroupName | Name of the Operations Manager management group or Log Analytics workspace. |
89
-
| OSVersion | The version of the operating system. |
90
-
| Server ||
91
-
| SourceHealthServiceId | Unique identifier representing the Log Analytics Windows agent ID. |
92
-
| SourceSystem | The source system for the record. The value is `OperationsManager`. |
93
-
| TenantId | Unique identifier representing your organization's instance of Azure Active Directory. |
94
-
| TimeGenerated | Date and time of record creation. |
54
+
| ComputerEnvironment | Environment. Possible values are Azure or Non-Azure. |
55
+
| VMUUID | Unique identifier for the virtual machine. |
56
+
| MG | Unique identifier for the management group or Log Analytics workspace. |
57
+
| ManagementGroupName | Name of the Operations Manager management group or the Log Analytics workspace. |
58
+
| MSRCSeverity | Severity rating for the vulnerability. Values are:<br> Critical<br> Important<br> Moderate<br> Low |
59
+
| KBID | Knowledge base article ID for the Windows update. |
60
+
| UpdateID | Unique identifier of the software update. |
61
+
| RevisionNumber | The revision number of a specific revision of an update. |
62
+
| Optional | True if the record is optional, or False otherwise. |
63
+
| RebootBehavior | The reboot behavior after installing/uninstalling an update. |
64
+
| MSRCBulletinID | Security bulletin ID number. |
65
+
| Approved | True if the record is approved, or False otherwise. |
66
+
| ApprovalSource | Applies to Windows operating system only. Source of approval for the record. The value is Microsoft Update. |
67
+
| InstallTimePredictionSeconds ||
68
+
| InstallTimeDeviationRangeSeconds||
69
+
| InstallTimeAvailable||
95
70
| Type | Record type. The value is Update. |
96
-
| WindowsUpdateAgentVersion | Version of the Windows Update agent. |
97
-
| WSUSServer | Errors if the Windows Update agent has a problem, to assist with troubleshooting. |
71
+
98
72
99
73
### Query Update Deployment Status record
100
74
101
75
A record with a type of `UpdateRunProgress` is created that provides update deployment status of a scheduled deployment by machine. These records have the properties in the following table:
102
76
103
77
| Property | Description |
104
78
|----------|-------------|
105
-
| Computer | Fully-qualified domain name of reporting machine. |
106
-
| ComputerEnvironment | Environment. Values are Azure or Non-Azure. |
107
-
| CorrelationId | Unique identifier of the runbook job run for the update. |
108
-
| EndTime | The time when the synchronization process ended. *This property is currently not used. See TimeGenerated.*|
79
+
| TenantId | Unique identifier representing your organization's instance of Azure Active Directory.|
80
+
| SourceSystem | Source system for the record. The value is `OperationsManager`. |
81
+
| TimeGenerated | Date and time of record creation. |
82
+
| MG | Unique identifier for the management group or Log Analytics workspace. |
83
+
| ManagementGroupName | Name of the Operations Manager management group or Log Analytics workspace. |
84
+
| SourceComputerId | Unique identifier representing the source computer. |
85
+
| KBID | Knowledge base article ID for the Windows update. |
86
+
| UpdateId | Unique identifier of the software update. |
87
+
| SucceededOnRetry | Value indicating if the update execution failed on the first attempt and the current operation is a retry attempt. |
109
88
| ErrorResult | Windows Update error code generated if an update fails to install. |
89
+
| UpdateRunName| Name of the update schedule.|
110
90
| InstallationStatus | The possible installation states of an update on the client computer,<br> `NotStarted` - job not triggered yet.<br> `Failed` - job started but failed with an exception.<br> `InProgress` - job in progress.<br> `MaintenanceWindowExceeded` - if execution was remaining but maintenance window interval reached.<br> `Succeeded` - job succeeded.<br> `InstallFailed` - update failed to install successfully.<br> `NotIncluded` - the corresponding update's classification doesn't match with customer's entries in input classification list.<br> `Excluded` - user enters a KBID in excluded list. While patching, if KBID in excluded list matches with the system detected update KB ID, it is marked as excluded. |
111
-
| KBID | Knowledge base article ID for the Windows update. |
112
-
| ManagementGroupName | Name of the Operations Manager management group or Log Analytics workspace. |
113
-
| OSType | Type of operating system. Values are Windows or Linux. |
91
+
| Computer | Fully-qualified domain name of reporting machine. |
92
+
| Title | The title of the update. |
114
93
| Product | The products for which the update is applicable. |
94
+
| OSType | Type of operating system. Values are Windows or Linux. |
95
+
| StartTime (UTC) | Time when the update is scheduled to be installed. *This property is currently not used. See TimeGenerated.*|
96
+
| EndTime (UTC) | The time when the synchronization process ended. *This property is currently not used. See TimeGenerated.*|
97
+
| CorrelationId | Unique identifier of the runbook job run for the update. |
98
+
| SubscriptionId | Unique identifier for the Azure subscription. |
99
+
| ResourceGroup| Name of the resource group to which the resource belongs.|
100
+
| ResourceProvider | The resource provider. |
115
101
| Resource | Name of the resource. |
116
102
| ResourceId | Unique identifier for the resource associated with the record. |
117
-
| ResourceProvider | The resource provider. |
118
103
| ResourceType | Resource type. |
119
-
| SourceComputerId | Unique identifier representing the source computer. |
120
-
| SourceSystem | Source system for the record. The value is `OperationsManager`. |
121
-
| StartTime | Time when the update is scheduled to be installed. *This property is currently not used. See TimeGenerated.*|
122
-
| SubscriptionId | Unique identifier for the Azure subscription. |
123
-
| SucceededOnRetry | Value indicating if the update execution failed on the first attempt and the current operation is a retry attempt. |
124
-
| TimeGenerated | Date and time of record creation. |
125
-
| Title | The title of the update. |
126
-
| Type | The type of update. The value is `UpdateRunProgress`. |
127
-
| UpdateId | Unique identifier of the software update. |
104
+
| ComputerEnvironment | Environment. Values are Azure or Non-Azure. |
128
105
| VMUUID | Unique identifier for the virtual machine. |
129
-
| ResourceId | Unique identifier for the resource associated with the record. |
106
+
| Type | The type of update. The value is `UpdateRunProgress`. |
107
+
|_ResourceId | Unique identifier for the resource associated with the record. |
130
108
131
109
### Query Update Summary record
132
110
133
111
A record with a type of `UpdateSummary` is created that provides update summary by machine. These records have the properties in the following table:
134
112
135
113
| Property | Description |
136
114
|----------|-------------|
137
-
| Computer | Fully-qualified domain name of reporting machine. |
138
-
| ComputerEnvironment | Environment. Values are Azure or Non-Azure. |
139
-
| CriticalUpdatesMissing | Number of applicable critical updates that are missing. |
115
+
| TenantId||
116
+
| SourceSystem | Source system for the record. The value is `OpsManager`. |
117
+
| TimeGenerated | Date and time of record creation. |
118
+
| MG | Unique identifier for the management group or Log Analytics workspace. |
140
119
| ManagementGroupName | Name of the Operations Manager management group or Log Analytics workspace. |
141
-
|NETRuntimeVersion|Version of .NET Framework installed on the Windows computer. |
142
-
|OldestMissingSecurityUpdateBucket | Specifier of the oldest missing security bucket. Values are:<br> Recent if value is less than 30 days<br> 30 days ago<br> 60 days ago<br> 90 days ago<br> 120 days ago<br> 150 days ago<br> 180 days ago<br> Older when value is greater than 180 days.|
120
+
|SourceComputerId|Unique identifier for the virtual machine. |
121
+
|LastUpdateApplied (UTC)||
143
122
| OldestMissingSecurityUpdateInDays | Total number of days for the oldest update detected as applicable that has not been installed. |
123
+
| OldestMissingSecurityUpdateBucket | Specifier of the oldest missing security bucket. Values are:<br> Recent if value is less than 30 days<br> 30 days ago<br> 60 days ago<br> 90 days ago<br> 120 days ago<br> 150 days ago<br> 180 days ago<br> Older when value is greater than 180 days. |
124
+
| WindowsUpdateSetting | Status of the Windows Update agent. Possible values are:<br> `Scheduled installation`<br> `Notify before installation`<br> `Error returned from unhealthy WUA agent`|
125
+
| WindowsUpdateAgentVersion | Version of the Windows Update agent. |
126
+
| WSUSServer | Errors if the Windows Update agent has a problem, to assist with troubleshooting. |
127
+
| Computer | Fully-qualified domain name of reporting machine. |
144
128
| OsVersion | The version of the operating system. |
129
+
| NETRuntimeVersion | Version of .NET Framework installed on the Windows computer. |
130
+
| CriticalUpdatesMissing | Number of applicable critical updates that are missing. |
131
+
| SecurityUpdatesMissing | Count of missing security updates that are applicable.|
145
132
| OtherUpdatesMissing | Count of detected updates missing. |
146
-
| Resource | Name of the resource for the record. |
133
+
| TotalUpdatesMissing | Total number of missing updates that are applicable. |
134
+
| RestartPending | True if a restart is pending, or False otherwise. |
135
+
| SubscriptionId | Unique identifier for the Azure subscription. |
147
136
| ResourceGroup | Name of the resource group containing the resource. |
148
-
| ResourceId | Unique identifier for the resource associated with the record. |
149
137
| ResourceProvider | The resource provider. |
138
+
| Resource | Name of the resource for the record. |
139
+
| ResourceId | Unique identifier for the resource associated with the record. |
150
140
| ResourceType | Resource type. |
151
-
| RestartPending | True if a restart is pending, or False otherwise. |
152
-
| SecurityUpdatesMissing | Count of missing security updates that are applicable.|
153
-
| SourceComputerId | Unique identifier for the virtual machine. |
154
-
| SourceSystem | Source system for the record. The value is `OpsManager`. |
155
-
| SubscriptionId | Unique identifier for the Azure subscription. |
156
-
| TimeGenerated | Date and time of record creation. |
157
-
| TotalUpdatesMissing | Total number of missing updates that are applicable. |
158
-
| Type | Record type. The value is `UpdateSummary`. |
141
+
| ComputerEnvironment | Environment. Values are Azure or Non-Azure. |
159
142
| VMUUID | Unique identifier for the virtual machine. |
160
-
| WindowsUpdateAgentVersion | Version of the Windows Update agent. |
161
-
| WindowsUpdateSetting | Status of the Windows Update agent. Possible values are:<br> `Scheduled installation`<br> `Notify before installation`<br> `Error returned from unhealthy WUA agent`|
162
-
| WSUSServer | Errors if the Windows Update agent has a problem, to assist with troubleshooting. |
143
+
| Type | Record type. The value is `UpdateSummary`. |
163
144
|_ResourceId | Unique identifier for the resource associated with the record. |
0 commit comments