共用方式為


AZMSVnetConnectionEvents 數據表的查詢

如需在 Azure 入口網站 中使用這些查詢的詳細資訊,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢

依命名空間發佈拒絕連線

在網路數據上依命名空間發佈拒絕連線。

AZMSVnetConnectionEvents
| extend NamespaceName = tostring(split(_ResourceId, "/")[8])
| where Provider =~ "EventHub"
| where Action == "Deny Connection"
| project Action, _SubscriptionId, NamespaceName, AddressIp, Reason, Count
| summarize by Action, NamespaceName

發佈命名空間 vnet 資料

依動作狀態發佈命名空間的 vnet 資料。

AZMSVnetConnectionEvents
| extend NamespaceName = tostring(split(_ResourceId, "/")[8])
| where Provider =~ "EventHub"
| project Action, _SubscriptionId, NamespaceName, AddressIp, Reason, Count, _ResourceId
| summarize by NamespaceName, Action

依命名空間發佈拒絕連線

依命名空間發佈拒絕網路連線資訊。

AZMSVNetConnectionEvents
| extend NamespaceName = tostring(split(_ResourceId, "/")[8])
| where Provider =~ "Relay"
| where Action == "Deny Connection"
| project Action, _SubscriptionId, NamespaceName, AddressIp, Reason, Count
| summarize by Action, NamespaceName

依命名空間發佈虛擬網路事件

發佈具有命名空間結果的虛擬網路事件。

AZMSVNetConnectionEvents
| extend NamespaceName = tostring(split(_ResourceId, "/")[8])
| where Provider =~ "Relay"
| project Action, _SubscriptionId, NamespaceName, AddressIp, Reason, Count, _ResourceId
| summarize by NamespaceName, Action

依命名空間發佈拒絕連線

依命名空間發佈拒絕網路連線資訊。

AZMSVNetConnectionEvents
| extend NamespaceName = tostring(split(_ResourceId, "/")[8])
| where Provider =~ "ServiceBus"
| where Action == "Deny Connection"
| project Action, _SubscriptionId, NamespaceName, AddressIp, Reason, Count
| summarize by Action, NamespaceName

依命名空間發佈虛擬網路事件

發佈具有命名空間結果的虛擬網路事件。

AZMSVNetConnectionEvents
| extend NamespaceName = tostring(split(_ResourceId, "/")[8])
| where Provider =~ "ServiceBus"
| project Action, _SubscriptionId, NamespaceName, AddressIp, Reason, Count, _ResourceId
| summarize by NamespaceName, Action