Skip to content

Commit f98374f

Browse files
Provide missing VNetAndIPFilteringLogs schema and examples
1 parent 17b581e commit f98374f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

articles/service-bus-messaging/monitor-service-bus-reference.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,37 @@ The following management operations are captured in operational logs:
144144
> [!NOTE]
145145
> Currently, *Read* operations aren't tracked in the operational logs.
146146
147+
### Virtual network and IP filtering logs
148+
Service Bus virtual network (VNet) connection event JSON includes elements listed in the following table:
149+
150+
| Name | Description |
151+
| --- | ----------- |
152+
| SubscriptionId | Azure subscription ID |
153+
| NamespaceName | Namespace name |
154+
| IPAddress | IP address of a client connecting to the Service Bus service |
155+
| Action | Action done by the Service Bus service when evaluating connection requests. Supported actions are **Accept Connection** and **Deny Connection**. |
156+
| Reason | Provides a reason why the action was done |
157+
| Count | Number of occurrences for the given action |
158+
| ResourceId | Azure Resource Manager resource ID. |
159+
| Category | ServiceBusVNetConnectionEvent |
160+
161+
Here's an example of a virtual network log JSON string:
162+
163+
```json
164+
{
165+
"SubscriptionId": "0000000-0000-0000-0000-000000000000",
166+
"NamespaceName": "namespace-name",
167+
"IPAddress": "1.2.3.4",
168+
"Action": "Accept Connection",
169+
"Reason": "IP is accepted by IPAddress filter.",
170+
"Count": 1,
171+
"ResourceId": "/SUBSCRIPTIONS/<AZURE SUBSCRPTION ID>/RESOURCEGROUPS/<RESOURCE GROUP NAME>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<SERVICE BUS NAMESPACE NAME>",
172+
"Category": "ServiceBusVNetConnectionEvent"
173+
}
174+
```
175+
176+
> [!NOTE]
177+
> Virtual network logs are generated only if the namespace allows access from selected networks or from specific IP addresses (IP filter rules).
147178
148179
## Runtime audit logs
149180
Runtime audit logs capture aggregated diagnostic information for various data plane access operations (such as send or receive messages) in Service Bus.

0 commit comments

Comments
 (0)