0

Hi i simulate data de to send in azureIoT. getting sample data works fine and when i use stream analytics with cosmos DB nothing is fetched in the data collection. everthing is empty.

i tried the change my connection (maybe my company's firewall) but nothing happens too

i would like to fetch data in cosmosDB by stream analytics because next step i want to use powerBI

ComsoDB sample works

enter image description here

enter image description here

and nothing in cosmoDB when i use stream analytics

Community
  • 1
  • 1
Saif Ejjilali
  • 107
  • 2
  • 3
  • 12

1 Answers1

0

Make sure Cosmos DB settings for JSON output is mentioned correctly as follows:

enter image description here

Mandatory fields and description.

enter image description here

After defining Input, Output and query, click on the start job, then you can find the output in the Cosmos DB document.

enter image description here

Checkout the Azure Stream Analytics output to Azure Cosmos DB:

enter image description here

For more details, refer "Azure Stream Analytics output to Azure Cosmos DB".

Hope this helps.

CHEEKATLAPRADEEP
  • 12,191
  • 1
  • 19
  • 42