locked
How do I check how many messages I used so far on Azure IoT Central RRS feed

  • Question

  • Hey,

    I could not find this anywhere, but is there a way to see the number of messages you send to and from Azure IoT Central? I am currently using the standard tier 2 for a project and wanted to see how many messages I used already during the month. On the pricing page it says it says 60000 messages for two devices but doesn't say anything about viewing it. 

    Thanks

    Saturday, March 7, 2020 11:20 PM

Answers

All replies

  • Hi,

    You can use the Azure CLI IoT extension to see the messages your devices are sending to IoT Central and observe changes in the device twin.

    Use the below command to monitor the device telemetry and messages that are being sent to your IoT Central app from your devices. This will include all headers and annotations.

    az iot central app monitor-events --app-id {app_id}

    For more details and other available options, please refer az iot central app monitor-events cmdlets.

    Hope this helps. Do let us know if you need further help.

    Monday, March 9, 2020 6:35 AM
  • Hello Le_James

    Does that answers your question? Do let us know if you need further help.

    Tuesday, March 10, 2020 8:18 AM
  • Yes this does help!

    I have another question, is there a command to monitor cloud to device events? I am currently using the command capability type on Azure IoT Central, would this be considered cloud to device direct method?

    Friday, March 20, 2020 12:00 AM
  • Hello,

    I haven't found any direct command to monitor cloud to device events wrt to IoT Central. Regarding the direct method, I haven't tried anything specific. Appreciate if you can provide more details on what you have tried so far and the results you have seen.

    Tuesday, March 31, 2020 5:12 PM