I’m using a JSON API that returns me a JSON like this:
{
“1701234000”:“65.1”,
“1701234300”:“65.1”,
“1701234600”:“65.1”,
“1701234900”:“65.0”,
“1701235200”:“64.9”
}.
The keys are time and the values are temperatures, I need to transform it to a time serie but I’m not sure how to do it.
I have tried to make transformations, but I still can’t get Grafana to interpret that these keys are time.
but if i select a timeseries visualization Grafana says “Data is missing a number field”, As a test I have transformed some values into number type but there it tells me “Data is missing a time field” and there I get stuck because I don’t know how to tell him that the keys are dates.
If you have an idea on how to solve that that would be great, I have tried several days and I have not been able to
I’m not sure if I’m doing the query correctly, in try.jsonNata he show me the information well, with a field time and other field value, but Grafana only show me it: