Hello @Ali Akbar Qureshi ,
Welcome to the Microsoft Q&A platform.
When a user error occurs, Azure Event Hubs updates the User Errors metric, but doesn't log any other diagnostic information. Therefore, you need to capture details on user errors in your applications. Or, you can also convert the telemetry generated when messages are sent or received into application insights.
For an example, see Tracking with Application Insights.
For more details, refer to Azure Event Hubs metrics.
Hope this helps. Do let us know if you any further queries.
---------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.