# Azure IoT Hub data formatting

**URL:** <https://discourse.nodered.org/t/azure-iot-hub-data-formatting/5718>\
**Category:** General\
**Created:** [12 December 2018 14:53 UTC](https://discourse.nodered.org/t/azure-iot-hub-data-formatting/5718 "2018-12-12T14:53:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KMBN](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@KMBN](https://discourse.nodered.org/u/KMBN)\
**Post date:** [12 December 2018 14:53 UTC](https://discourse.nodered.org/t/azure-iot-hub-data-formatting/5718/1 "2018-12-12T14:53:40Z")

</div>

I have just started using Node-RED, and am excited to get it to solve some tasks for me.  
I have attempted to connect to Azure IoT Hub, and have succeeded in doing so. But it seems like too much data is being generated, and I can't make out if it Azure or Node-RED is to blame.  
Example: I put a small bit of text into the payload message, and around it, I get something like

Objavro.codecnullavro.schemaÐ{"type":"record","name":"Message","namespace":"Microsoft.Azure.Devices","fields":[{"name":"EnqueuedTimeUtc","type":"string"},{"name":"Properties","type":{"type":"map","values":"string"}},{"name":"SystemProperties","type":{"type":"map","values":"string"}},{"name":"Body","type":["null","bytes"]}]} íñ­$¼Ã”4æz¸‡ù÷úÎ82018-12-12T14:00:05.7170000Z to@/devices/mydeviceid/messages/events$connectionDeviceIdmydeviceid(connectionAuthMethodœ{"scope":"device","type":"sas","issuer":"iothub","acceptingIpFilterRule":null}8connectionDeviceGenerationId$636796069962215298contentEncoding enqueuedTime82018-12-12T14:00:05.7170000Z :

...but is there somewhere I can retrieve the "raw" data in Azure (or set up a rule/function) or something that can be changed in the configuration of Node-RED, which can help with this?

My apologies if this question belongs in an Azure forum and not here.

---

<div class="post-metadata">

**Author:** ![fredy76](https://avatars.discourse-cdn.com/v4/letter/f/ce73a5/32.png) [@fredy76](https://discourse.nodered.org/u/fredy76)\
**Post date:** [5 January 2019 11:24 UTC](https://discourse.nodered.org/t/azure-iot-hub-data-formatting/5718/2 "2019-01-05T11:24:48Z")

</div>

Hi mentioned below article will help you out to send Raw data and manipulate it using azure functions

> **[Stream Wireless Temperature and Humidity Sensor data to PowerBi using Azure...](https://ncd.io/stream-wireless-temperature-and-humidity-sensor-data-to-powerbi-using-azure-functions/)**
>
> IoT Long Range Wireless Temperature Humidity SensorAzure FunctionsSetting Up Azure functionAzure function as output of Stream Analytics jobSetting up power BiGateway CodeCollecting Sensor dataConnecting to AzureESP32 FirmwareAzure Function Code Data...
