How to check the event received in Azure Event Hub
Asked Answered
I

5

7

Perhaps a rather simple question, yet I couldn't find the answers after doing some searching.

After I have send an event to an Azure event Hub (via the Java code), how could I check back in the Azure Portal about the event that I have sent ? (so that I could inspect the header and body of the event content for verification).

In the Azure Portal, after I have clicked in the event hub, there is a metric to show the incoming requests, but this only shows the counts, but I would want to inspect the individual event recevied.

Iguanodon answered 8/10, 2021 at 8:18 Comment(1)
B
5

You can inspect the data on the portal with Azure Stream Analytics test consumer which can be loaded on the entity blade.

enter image description here

Berfield answered 8/10, 2021 at 21:41 Comment(3)
Is there a cost consideration with that approach, Serkant? Does it spin up an ASA resource?Keffer
I'm getting the message: "There is no data from input 'myhub'. Please make sure the input source has data and then try again." when I try thatAbirritate
You can view the data. There is an extra step after creating a Stream Analytics job. It will consume from your EventHub and you can Query this from the Stream Analytics job. To do so, navigate to the actual Azure Page for the Stream Analytics Job. This can be done by selecting it from your Resource Group or from your EventHub -> Process Data -> Stream Analytics jobs -> Open metrics. Then, click Query in the left-hand blade, select the Time Range you'd like to pull data from, and run the query. Your events (1-day retention) will show up.Filamentous
K
0

To my knowledge, it's not currently possible to inspect Event Hubs events via the portal. To do you, you'd either need to read the events using one of the SDKs or a product like Service Bus Explorer to inspect them.

Keffer answered 8/10, 2021 at 12:55 Comment(0)
P
0

I believe the answer to your question is Azure Monitor. Check out this link and see if it helps.

Pallid answered 12/8, 2022 at 21:39 Comment(0)
R
0

I found this VS code extension pretty handy to view the events in the Azure Event hub.

VS Code extension: https://marketplace.visualstudio.com/items?itemName=Summer.azure-event-hub-explorer

This is a terminal based approach, and might work only for development workloads (since the events flow could be higher in other environments).

Retinoscopy answered 15/10, 2023 at 16:59 Comment(0)
S
0

It is now under "Features -> Process Data" in the menu to the left, and then this panel will allow you to preview:

enter image description here

Strapless answered 6/8 at 10:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.