@venkata rami reddy thangirala
Thank you for the question and for using Microsoft Q&A platform.
It seems like you're trying to get the count of messages in each partition of your Event Hub topic. Unfortunately, Azure Diagnostics doesn't provide a way to achieve this. Only certain metrics are supported by the Azure Monitor for Event Hubs:
https://video2.skills-academy.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-eventhub-namespaces-metrics
You can count the number of incoming messages using the Metrics section:
In the logs, you can have all the columns mentioned in this document: https://video2.skills-academy.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-eventhub-namespaces-metrics
There is no column named Partition_ID. Hence, we cannot achieve this using Azure Monitor.
For more information, please refer to the below link:
https://video2.skills-academy.com/en-us/azure/azure-monitor/essentials/analyze-metrics#apply-filters-to-charts
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.