Reputation: 1833
I have a blob storage where I store data from event hub using routes. I want to display that data, for example in PowerBI, or put it in a topic etc.
For that I create a stream analytics job. I set "Blob storage" as an input, and one of my topics as an output.
I wrote a very basic SQL
SELECT
* INTO
[sajoutputtopic] FROM
[blobstoragesajinput]
Then I send message to IoT Hub: {"deviceId":"mydevice","messageId":921,"temperature":31,"humidity":72}
In azure I can see that is stored in blob Then I test the SQL:
but when I click test, I get 0 rows.
What am I doing wrong?
Upvotes: 1
Views: 1458
Reputation: 23792
amplifier. You need to check the file format you downloaded. It need to be matched with the selected option. I created json file which stores your sample data. Then I right clicked on the input -> "upload sample data from file", select "JSON". It works fine.
Upvotes: 0