Azure诊断日志保存到另一个位置

huangapple go评论58阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年6月1日 17:49:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76380645.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定