物联网集线器是否保留遥测数据。如果是,持续多长时间以及我们如何在 Azure 门户中访问该数据?我们可以将遥测数据从 IOT hub 导出到 Excel 吗?
最佳答案
how can we access that data in Azure portal? Can we export the telemetry data from IOT hub to excel ?
这是一个相当广泛的问题,有很多方法可以使用 IoT 中心中的消息,但您无法在门户中看到它,并且没有内置方法将数据导出到 Excel。
我所知道的最接近Excel导出的官方解决方案是Set up continuous data export from Azure IoT Central to a Power BI app .
Do we have to route it storage unit to view data or IOT hub let us view those data
有关如何将消息路由到 Blob 存储的示例,请参阅 Exercise - Create a message route to Azure blob storage这是 Identify anomalies by routing data via IoT Hub to a built-in ML model in Azure Stream Analytics 的一部分模块来自Securely connect IoT devices to the cloud .
Do IOT hub retains telemetry data. If yes for how long
标准保留期为 1 天,但可以延长至 7 days .
<小时/> 顺便说一句。如果您希望监视传入的事件,以便进行测试,可以使用 Azure CLI 的az iot hub monitor-events
命令。
az extension add --name azure-iot
az iot hub monitor-events -n <IoT-Hub-Name>
关于Azure IOT 中心数据导出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62226147/