简体   繁体   English

如何在Microsoft Azure IoT中创建流数据的自定义仪表板?

[英]How to create customized Dashboards of streaming data in Microsoft Azure IoT?

I have created an Event Hub in the Azure portal. 我已经在Azure门户中创建了一个事件中心。 I am streaming Temperature data into the hub (1 value per minute) and would like to create 2 plots (a Temperature time series and a Temperature histogram of the respective last 480 minutes) in a dashboard. 我正在将温度数据流式传输到集线器(每分钟1个值),并希望在仪表板上创建2个图(温度时间序列和最近480分钟的温度直方图)。 I have created a Stream Analytics job to achieve this. 我创建了一个Stream Analytics作业来实现这一目标。 It takes the Event Hub data as input. 它以事件中心数据作为输入。

Ideally I'd like to have the visualizations created directly from the data stream without any data storage, ie "stream -> dashboard" rather than "stream -> storage -> dashboard". 理想情况下,我想直接从数据流中创建可视化效果,而无需任何数据存储,即“流->仪表板”而不是“流->存储->仪表板”。 I'm used to creating dashboards in Tableau and I'd love to use a similarly intuitive and maybe even interactive tool. 我习惯于在Tableau中创建仪表板,我很想使用类似的直观甚至交互工具。

One option may be to store the streaming data in Azure and to import from Azure to Tableau. 一种选择是将流数据存储在Azure中,然后从Azure导入到Tableau。 Another option might be to output the Stream Analytics job to Microsoft Power BI. 另一个选择是将Stream Analytics作业输出到Microsoft Power BI。

Question is: What other/more convenient options are there to create my dashboard from my streaming data? 问题是:还有哪些其他/更方便的选项可用于通过流数据创建仪表板? In particular: Are there any native ways within Azure for creating customizable visualizations/dashboards of streaming data? 特别是:Azure内是否有用于创建可自定义的可视化数据流/仪表板的本地方法? Does Azure IoT Suite enable creating customizable dashboards of streaming data? Azure IoT Suite是否支持创建可自定义的流数据仪表板?

Thanks. 谢谢。

Did you looked into https://powerbi.microsoft.com/en-us/blog/using-power-bi-real-time-dashboards-to-display-iot-sensor-data-a-step-by-step-tutorial/ ? 您是否查看过https://powerbi.microsoft.com/zh-CN/blog/using-power-bi-real-time-dashboards-to-display-iot-sensor-data-a-step-by-step-教程/

It shows how to communicate with PowerBI directly through API. 它显示了如何通过API直接与PowerBI通信。 If you want to keep routing capabilities and extra functionality which IOT Hub provides - create azure functions subscribed to event-hub triggers. 如果要保留IOT Hub提供的路由功能和其他功能,请创建订阅事件集线器触发器的Azure函数。

Within a function once it is triggered you can call PowerBI apis. 在函数中,一旦被触发,您可以调用PowerBI api。 IOTHub exposes event hubs endpoints, so you can have azure function triggers hooked up which will call Power BI. IOTHub公开了事件中心终结点,因此您可以连接具有azure功能的触发器,该触发器将调用Power BI。

Updated: I created a sample for using RaspberryPI, Azure IotHub, Azure Functions and PowerBi. 更新:我创建了一个使用RaspberryPI,Azure IotHub,Azure Functions和PowerBi的示例。 See https://github.com/gtrifonov/azure-iothub-functions-powerbi . 参见https://github.com/gtrifonov/azure-iothub-functions-powerbi You can apply additional azure iothub functionality such as routing,ip blocking and etc if you route messages through hub. 如果您通过集线器路由消息,则可以应用其他的azure iothub功能,例如路由,ip阻止等。 Also azure functions give you extra point of adding some processing. 此外,Azure函数还为您添加了一些处理功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM