无法在Cosmos DB中获取数据

时间:2019-04-16 20:18:58

标签: azure-cosmosdb azure-iot-hub azure-stream-analytics

嗨,我模拟了要在azureIoT中发送的数据。获取示例数据可以正常工作,当我将流分析与cosmos DB一起使用时,数据收集中不会获取任何内容。一切都是空的。

我尝试更改连接(可能是公司的防火墙),但也没有任何反应

我想通过流分析在cosmosDB中获取数据,因为下一步我想使用powerBI

ComsoDB示例作品

enter image description here

enter image description here

使用流分析时cosmoDB中什么也没有

1 个答案:

答案 0 :(得分:0)

请确保正确提及JSON输出的Cosmos DB设置,如下所示:

enter image description here

必填字段和说明。

enter image description here

定义输入,输出和查询后,单击开始作业,然后可以在Cosmos DB文档中找到输出。

enter image description here

将Azure流分析输出检出到Azure Cosmos DB:

enter image description here

有关更多详细信息,请参阅“ Azure Stream Analytics output to Azure Cosmos DB”。

希望这会有所帮助。