locked
How do i add device ID to custom endpoint blob file name format? RRS feed

  • Question

  • Hi all,

    Within our iot solution we send all the raw messages to blob storage via a custom endpoint in the IoT Hub. within this endpoint you can define a blob file name format which is the minimal set of these parameters: {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. I would like to add a deviceId parameter. so i tried a couple of thing for example adding {deviceId} but this is not working. 

    Does anyone knows the solution?

    Kind regard,

    Marc

    Monday, November 5, 2018 8:48 AM

Answers

  • Hi Marc,

    Solution for your requirement is to use a workaround using an EventHubTrigger function with an output append blob binding.

    You can modify this workaround for your needs. Please, read also a comment by @DevisLucato about the possible order processing issue.

    Thanks

    Roman



    • Edited by Roman Kiss Monday, November 12, 2018 11:57 AM
    • Marked as answer by AxiansMarcH Monday, November 12, 2018 1:53 PM
    Monday, November 12, 2018 11:56 AM

All replies