Skip to content

Commit 6d037ec

Browse files
committed
Find IP Address
1 parent 80e1c00 commit 6d037ec

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

articles/event-hubs/event-hubs-faq.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,24 @@ If you use the zone redundancy for your namespace, you need to do a few addition
100100
```
101101
3. Run nslookup for each one with suffixes s1, s2, and s3 to get the IP addresses of all three instances running in three availability zones,
102102
103+
#### Where can I find client IP sending or receiving msgs to my namespace?
104+
First, enable [IP filtering](event-hubs-ip-filtering.md) on the namespace.
105+
106+
Then, Enable diagnostic logs for [Event Hubs virtual network connection events](event-hubs-diagnostic-logs.md#event-hubs-virtual-network-connection-event-schema) by following instructions in the [Enable diagnostic logs](event-hubs-diagnostic-logs.md#enable-diagnostic-logs). You will see the IP address for which connection is denied.
107+
108+
```json
109+
{
110+
"SubscriptionId": "0000000-0000-0000-0000-000000000000",
111+
"NamespaceName": "namespace-name",
112+
"IPAddress": "1.2.3.4",
113+
"Action": "Deny Connection",
114+
"Reason": "IPAddress doesn't belong to a subnet with Service Endpoint enabled.",
115+
"Count": "65",
116+
"ResourceId": "/subscriptions/0000000-0000-0000-0000-000000000000/resourcegroups/testrg/providers/microsoft.eventhub/namespaces/namespace-name",
117+
"Category": "EventHubVNetConnectionEvent"
118+
}
119+
```
120+
103121
## Apache Kafka integration
104122

105123
### How do I integrate my existing Kafka application with Event Hubs?

0 commit comments

Comments
 (0)