diff --git a/samples/features/azure-arc/troubleshooting/hybrid-compute-extension-last-connect.kql b/samples/features/azure-arc/troubleshooting/hybrid-compute-extension-last-connect.kql new file mode 100644 index 00000000..6536813a --- /dev/null +++ b/samples/features/azure-arc/troubleshooting/hybrid-compute-extension-last-connect.kql @@ -0,0 +1,7 @@ +resources + | where type =~ 'microsoft.hybridcompute/machines/extensions' + | where properties.type in ('WindowsAgent.SqlServer','LinuxAgent.SqlServer') + | parse id with * '/providers/Microsoft.HybridCompute/machines/' machineName '/extensions/' * + | parse properties with * 'timestampUTC : ' timestampUTC ';' * + | project timestampUTC, subscriptionId, resourceGroup, machineName + | order by timestampUTC desc \ No newline at end of file