Find who is sending messages to my azure event hub

Seenuvasan Manoharan (Infosys Ltd) 20 Reputation points Microsoft External Staff
2025-07-15T05:31:14.6533333+00:00

Hi Team,

Wanted to understand where my event hub is being referenced and send/receive messages from other sources. i tried namespace name with code and configs and logs but could not find who is sending or receiving messages to my event hub. I could see metrics in overview every min i see messages and requests are coming.

any help on how i get details on app requests.

Azure Event Hubs
{count} votes

Accepted answer
  1. Deepanshu katara 17,255 Reputation points MVP Moderator
    2025-07-15T05:41:17.9066667+00:00

    Hello

    To identify the sources sending or receiving messages to your Azure Event Hub, you can follow these steps:

    Enable IP Filtering: First, enable IP filtering on your Event Hub namespace. This will allow you to specify which IP addresses can access your Event Hub.

    Enable Diagnostic Logs: Set up diagnostic logs for Event Hubs virtual network connection events. This will help you track the IP addresses of clients connecting to your Event Hub namespace. You can follow the instructions in the Azure Monitor documentation to enable these logs.

    Review Logs: Once the logs are enabled, you can review them to see the IP addresses that are connecting to your Event Hub. This will help you identify the sources of the messages.

    Please note that while you can track the IP addresses of clients connecting to your Event Hub, it is currently not possible to determine the source IP of an individual message or event.

    Pls check and let us know if any further ques

    Thanks

    Deepanshu

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.