IoTHub dynamic field names in blob file format of storage endpoint

Arvid Martens 6 Reputation points
2020-03-09T15:32:17.313+00:00

From the docs it is not clear if it is possible to use message fields, such as device id, and add them to the folder structure of the blob storage. For example we want to save raw data going to the iothub and save it in a separate folder for each unique device. The blob format should be something like:
{iothub}/{partition}/{device_id}/{YYYY}/{MM}/{DD}/{HH}/{mm}.

Is it possible to achieve something like this directly from the iothub?

Regards,

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,128 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Robbin Botter 1 Reputation point
    2020-05-16T11:28:27.147+00:00

    Even better would be the {routingkey} from the custom routings