Skip to content

Commit 5a82626

Browse files
authored
Merge pull request #96216 from EldertGrootenboer/patch-7
Provide missing VNetAndIPFilteringLogs schema and examples
2 parents eff72e4 + 4ec9288 commit 5a82626

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+
> [!NOTE]
162+
> Virtual network logs are generated only if the namespace allows access from selected networks or from specific IP addresses (IP filter rules).
163+
164+
Here's an example of a virtual network log JSON string:
165+
166+
```json
167+
{
168+
"SubscriptionId": "0000000-0000-0000-0000-000000000000",
169+
"NamespaceName": "namespace-name",
170+
"IPAddress": "1.2.3.4",
171+
"Action": "Accept Connection",
172+
"Reason": "IP is accepted by IPAddress filter.",
173+
"Count": 1,
174+
"ResourceId": "/SUBSCRIPTIONS/<AZURE SUBSCRPTION ID>/RESOURCEGROUPS/<RESOURCE GROUP NAME>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<SERVICE BUS NAMESPACE NAME>",
175+
"Category": "ServiceBusVNetConnectionEvent"
176+
}
177+
```
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)