Telegraf http input parse array response

Hey!

I’m using [[inputs.http]] to get data from a URL and the response is something similar to the below:

[233.7378,234.8888,234.05,5.083766,5.084727,5.048663,1189.833,1192.677,1179.102,1188.824,1192.566,1179.441,21.28262,19.01997,28.23512,0.999833,0.999875,0.999708,1.009956,0.896414,1.406912,234.2015,5.061441,15.18115,3555.381,3556.037,68.26344,0.999815,1.100821,49.86923,35.928,0,0.488,0.003,35.93135,154.5269,934.7812,8622.21,935.3408,8622.781,0.023255,0.096375,405.5498,406.4161,404.7845,405.5725,0.036644,11.88338,11.81253,11.88855,19.18112,19.03522,19.1684,12.19179,18.96599,1.340092,1.336269,1.317622,12.35296,12.40147,12.34172,0,0,0,0,35.931,0.491,12.001,12.001,11.929,0,0,0,12.001,12.001,11.929,0.124,0.121,0.243,0,0.001,0.002,0.124,0.122,0]

Is there a smart way to get values at index 3, 4 and 5? The end goal is to get these values labelled correctly so they can be stored in an InfluxDB which is being visualised in a Grafana dashboard.
I’m new to Telegraf and would appreciate any help or pointers!

You have to reconduct that data format to a valid/supported one, those are the available ones.