英文:
Azure Diagnostic Logs saved to another location
问题
我想要使用Bicep在一个位置上创建防火墙的诊断设置,然后保存到另一个位置的事件中心。这两个虚拟网络已经进行了对等连接,但我想知道是否可能基于这个错误消息:
资源'/subscriptions/123/resourceGroups/ukw-rg/providers/Microsoft.Network/azureFirewalls/ukw-fw'位于区域'ukwest',而资源'/subscriptions/123/resourcegroups/uks-rg/providers/microsoft.eventhub/namespaces/uks-evhns'位于区域'uksouth'。
英文:
I'm looking to create using Bicep, diagnostic settings on a firewall in one location and save to an Event Hub in another location. The two vnets are peered, but I am wondering if it is possibe based on this error message:
Resource '/subscriptions/123/resourceGroups/ukw-rg/providers/Microsoft.Network/azureFirewalls/ukw-fw' is in region 'ukwest' and resource '/subscriptions/123/resourcegroups/uks-rg/providers/microsoft.eventhub/namespaces/uks-evhns' is in region 'uksouth'
答案1
得分: 1
你是正确的。这是不可能的。https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal#destination-limitations
"如果资源是区域性的,事件中心命名空间需要与被监视的资源位于相同的区域。"
亲切的问候
Alistair
英文:
You are correct. It isn't possible. https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal#destination-limitations
"The event hub namespace needs to be in the same region as the resource being monitored if the resource is regional."
kind regards
Alistair
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论