mikey6283 Posted July 7, 2022 Share Posted July 7, 2022 As a newbie , I trying to create a dashboard in grafana. I have influxdb running , bucket installed and showing in grafana . I am able to create a graph in Influxdb not not in grafana using the Influxdb script. " invalid: compilation failed: error @2:4-2:66: expected comma in property list, got COLON error @2:47-2:65: missing property key" my script : from(bucket: "nodered") |> range(start: 2022-07-07T10:01:59.594Z. stop: v. timeRnageStop) |> filter(fn: (r) => r["_measurement"] == shellies/shellyem-485519C99C50/emeter/0/total" or r["_measurement"] == shellies/shellyem-485519C9BD88/emeter/0/total") |> filter(fn: (r) => r["_field"] =="value") |> aggregateWindow(every: 30s, fn: mean, createEmpty: false) |> yield(name: "mean") Any advice or direction would be appreciated. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.