Azure-Samples / Azure-Time-Series-Insights

Sample modules written in different languages that can be used as templates for applications needing to query Time Series Insights
MIT License
21 stars 31 forks source link

MQTT -> IoTHub -> TimeSeriesInsights #25

Open git2sunder opened 3 years ago

git2sunder commented 3 years ago

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

We are pushing data via mosquitto_pub with the following command

mosquitto_pub -d -h TestHub.azure-devices.net -p 8883 -i 16225 -u "TestHub.azure-devices.net/16225/?api-version=2018-06-30" -P "SharedAccessSignature sr=TestHub.azure-devices.net%2Fdevices%2F16225&sig=m%someRandomKey3" -t "devices/16225/messages/events/" -m "{\"deviceId\":16225,\"data\":[{\"Actweight[4]\":233,\"RecipeValue\":69450}}]" -V mqttv311 --cafile /tmp/IoTHubRootCA_Baltimore.pem -q 1

DeviceId is the timeseries ID defined when creating the instance

The data is received OK in IoTHub explorer but shows up as null in IoT Time Series insights. Any suggestions? image