I have an Azure Iot Hub setup with a few devices and a Java service connected. I would like to be able to retrieve the traffic statistics (i.e. number of device to cloud messages in a particular time window).
The Azure portal is able to display the overall traffic data (but not on a per device basis), but I haven't found any way of accessing that data, nor seeing a breakdown of the traffic for each device on the portal.
I've looked into the REST API that Azure supports, including the Java Azure SDK, but couldn't find anything relating to IoT network traffic.