Composite types with line protocol

Dear Community,

I found lots of array references, but nothing that explicitly describes how the line protocol handles composite types:

Am I missing something? Would it work like this?

myMeasurement,tag1=value1,tag2=value2 fieldKey=[1, 2, 3, 4] 1556813561098000000


Hello @teclab,
For line protocol you can only use the following types:

Flux allows you to create composite types after ingest which is why you’re seeing that documentation. For example the function findColumn() would return an array, but you can’t write an array into influxDB.
You’d have to split that field value into multiple fields or contain it all as a string.

1 Like