简体   繁体   English

Azure Blob存储和流分析

[英]Azure blob storage and stream analytics

I read what in azure blob very nice save some data for statistics or something else, after it create requests for blob and show statistics to website (dashboard). 我读过azure blob中的内容,在创建了对blob的请求并向网站(仪表板)显示统计信息之后,非常好地保存了一些数据以用于统计数据或其他内容。 But I don't know how to use stream analytics for showing statistics. 但是我不知道如何使用流分析来显示统计信息。 It is some SDK for create query to blob and generate josn data. 这是一些用于创建查询以blob并生成josn数据的SDK。 Or ... I don't know. 或者...我不知道。 And I have more question about it: 我对此有更多疑问:

  • How to save data to blob (it is json data or something else). 如何将数据保存到Blob(它是json数据或其他)。 I don't know format data for it issue. 我不知道它的格式数据。
  • How to use stream analytics for create request to blob and after it get data for showing in dashboard. 如何使用流分析来创建blob请求,以及如何获取数据以使其显示在仪表板中。

And maybe you know how to use this technology. 也许您知道如何使用这项技术。 Help me please. 请帮帮我。 Thanks, and have a nice day. 感谢,并有一个愉快的一天。

@Taras - did you get a chance to toy with the Stream Analytics UI? @Taras-您有机会通过Stream Analytics UI玩弄玩具吗?

When you add a blob input you can either add an entire container - which means Stream Analytics will scan the entire container for new files or you can specify a path prefix pattern which will make Stream Analytics look in only that path. 添加Blob输入时,您可以添加整个容器-这意味着Stream Analytics将在整个容器中扫描新文件,或者您可以指定路径前缀模式,这将使Stream Analytics仅在该路径中查找。

You can also specify tokens such as {date}, {time} on the path prefix pattern to help guide Stream Analytics on the files to read. 您还可以在路径前缀模式中指定标记,例如{date},{time},以帮助指导Stream Analytics读取文件。

Generally speaking - it is highly recommended to use Event Hub as input for the improved latency. 一般而言-强烈建议使用事件中心作为输入以改善延迟。

As for output - you can either use Power BI which would give you an interactive dashboard or you can output to some storage (blob, table, SQL, etc...) and build a dashboard on top of that. 至于输出-您可以使用Power BI,它会为您提供交互式仪表板,也可以输出到某些存储(blob,表,SQL等),并在此之上构建仪表板。

You can also try to do one of the walkthroughs to get a feel for Stream Analytics: https://azure.microsoft.com/en-us/documentation/articles/stream-analytics-twitter-sentiment-analysis-trends/ 您也可以尝试执行以下演练之一来了解Stream Analytics: https//azure.microsoft.com/zh-cn/documentation/articles/stream-analytics-twitter-sentiment-analysis-trends/

Thanks! 谢谢!

Ziv. 谢夫。

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

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