How to transfer Node Red messages/data to stream analytics azure?

I have been trying to build cloud dashboards for a smart factory model. For this, I have all my data (software?) on node red. My Problem is: I connected Node-Red with Azure IoT hub which means I can send messages like temperature, pressure etc to my IoT Hub. But when I try to use my IoT hub as an input for stream analytics in azure, it cannot read or find the messages/data. Can someone maybe tell me how I can code or do something on my nodes so that they are readable from Azure Stream analytics ?
i am welcome for all kind of help, already tried all the options on the internet :confused: