'Is it possible to write a whole object in InfluxDB?

I'd like to AUTOMATICALLY write telemetry record set (aka a javascript multi-level object as follows) so that InfluxDB can retrieve individual values from the timestamp? (soh, soc etc. in this example)

const telemetry = { 
  createdAt: '2021-05-03 12:10:09',
  id: 'FOO',
  configuration: {
    version: '1.2.3',
    name: 'pepsr'
  },
  batteries: [
    '0': {
      soc: 90, 
      soh: 97, 
      eqCycles: 234
    },
    '1': {
      soc: 91, 
      soh: 96, 
      eqCycles: 237
    }
  ]
}


Solution 1:[1]

In ValueField you can store the string object data in influx. You need to serialize your object store as string binary data.

I have implemented this in c# .net core api and its working perfectly. Make sure your object data size fall in the limit as per the defined limit.

Length limit 64KB

https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_reference/#data-types

Solution 2:[2]

Databricks supports 4 Default Language:

Python,

Scala,

SQL,

R

enter image description here

I was unable to find any documentation, which shows use of robot framework on databricks.

However, you can try running commands on Azure databricks which you tried on local machine.

Databricks is simply just a cloud infrastructure provider to run your spark workload with some add on capability.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rahul Shukla
Solution 2 AbhishekKhandave-MT