I’m facing an issue while using InfluxDB to store data from IoT devices (Eclipse Ditto) through Kafka using Telegraf. The data I’m receiving is in JSON format, containing information about various attributes and features of the devices. However, I’m only able to see the “features” data in InfluxDB, and information like the “thingId” and other attributes are missing.
Here’s an example of the JSON data I’m working with:
I suspect that there might be an issue in my Telegraf configuration or possibly with the InfluxDB write process that’s causing the “thingId” and attributes to not be properly stored or displayed in InfluxDB.
Has anyone encountered a similar issue? How can I ensure that the entire JSON data, including the “thingId” and attributes, is visible and queryable in InfluxDB? Any guidance or suggestions would be greatly appreciated. Thank you!
@Anaisdg - I wanted to add the attributes(Strings) also to be stored inside the influxDB. I’m only able to see the “features” data in InfluxDB but other attributes are missing(Strings).
Here’s an example of the JSON data I’m working with: