@@ -5,7 +5,7 @@ ms.service: azure-update-manager
5
5
ms.custom : linux-related-content
6
6
author : SnehaSudhirG
7
7
ms.author : sudhirsneha
8
- ms.date : 09/18/2023
8
+ ms.date : 06/13/2024
9
9
ms.topic : conceptual
10
10
---
11
11
@@ -46,7 +46,7 @@ The following query returns a list of update installations for Windows Server wi
46
46
47
47
``` kusto
48
48
patchinstallationresources
49
- | where type has "softwarepatches" and properties !has " version"
49
+ | where type has "softwarepatches" and isnull( properties. version)
50
50
| extend machineName = tostring(split(id, "/", 8)), resourceType = tostring(split(type, "/", 0)), tostring(rgName = split(id, "/", 4)), tostring(RunID = split(id, "/", 10))
51
51
| extend prop = parse_json(properties)
52
52
| extend lTime = todatetime(prop.lastModifiedDateTime), patchName = tostring(prop.patchName), kbId = tostring(prop.kbId), installationState = tostring(prop.installationState), classifications = tostring(prop.classifications)
@@ -61,7 +61,7 @@ The following query returns a list of update installations for Linux with their
61
61
62
62
``` kusto
63
63
patchinstallationresources
64
- | where type has "softwarepatches" and properties has "version"
64
+ | where type has "softwarepatches" and isnotnull( properties.version) and isnull(properties.kbId)
65
65
| extend machineName = tostring(split(id, "/", 8)), resourceType = tostring(split(type, "/", 0)), tostring(rgName = split(id, "/", 4)), tostring(RunID = split(id, "/", 10))
66
66
| extend prop = parse_json(properties)
67
67
| extend lTime = todatetime(prop.lastModifiedDateTime), patchName = tostring(prop.patchName), version = tostring(prop.version), installationState = tostring(prop.installationState), classifications = tostring(prop.classifications)
0 commit comments