将具有相同名称的 Azure VM 连接到 Log Analytics

Connect Azure VMs with the same names to Log Analytics

可以通过 Microsoft Monitoring Agent 虚拟机扩展将 Azure VM 连接到 Log Analytics(https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-azure-vm-extension). But the data received in Log Analytics has nothing to say about the subscription or the resource group the VM belongs to. This means that if I have two VMs with the same names in two different resource groups then in Log Analytics there is no way to differentiate between them. So, is there a workaround for this? Is it possible to enrich the data collected by Microsoft Monitoring Agent?

目前无法丰富 Microsoft Monitoring Agent 收集的数据。

有人已经创建了一个请求: https://feedback.azure.com/forums/267889-log-analytics/suggestions/17005000-multi-tenancy-collect-azure-health-logs-from-diff