This message was deleted.
# general
s
This message was deleted.
k
Example Payload: { "resource_id": "7da54020-b43d-11ed-9510-caadc0869dc1-81", "timestamp": 1680610501000, "data": { "compact": { //array of devices - num of devices is DYNAMIC "devices": [ [ [ //deviceId "bdhbed-dbfb-kdhd-dhbfhbd-91", ], [ //cpu [ //usage % 40.5, //threads 5 ], //memory [ //os 260.7, //app 50 ], //sensor [ //temp 60.5, //fan speed 23 ] ] ], [ [ //deviceId "bdhbed-dbfb-kdhd-dhbfhbd-92", ], [ //cpu [ //usage % 20.5, //threads 5 ], //memory [ //os 160.7, //app 30 ], //sensor [ //temp 80.5, //fan speed 53 ] ] ], ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ] } } }
b
Please check below blog, and see if this can help, I have never tried this but check once and let us know: https://blog.hellmar-becker.de/2023/05/01/druid-sneak-peek-schema-inference-and-arrays/
k
nope...druid did not support ingestion of nested arrays inside arrays