Reputation: 19
Currently My IOT hub is sending data to storage account gen2 within a folder called rawdata.. But I want to send the data into three folders if it is raw data - send to raw folder, transform data send to transform folder likewise.
Current setting:
Kindly guide any article.
Thanks Anuj
Upvotes: 0
Views: 503
Reputation: 16238
The IoT Hub file upload feature is something totally different. So send (and transform) telemetry to a sink like Data Lake Store Gen2, use something like Stream Analytics: https://learn.microsoft.com/en-us/azure/stream-analytics/blob-storage-azure-data-lake-gen2-output
In one streaming job you can have multiple outputs with different transformations being applied.
edit based on comments:
You can also do simple filtering (but no transformations) using IoT Hub routing queries: https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-routing-query-syntax
Create different custom endpoints for your storage account (with different paths). Then create different custom routes towards these.
Upvotes: 1