Addition of fields found with regex select clause

Hello @kielschwein,
Welcome! What version of InfluxDB are you using? Summing multiple fields at a timestamp is very hard to do with influxQL especially. if you don’t know the names. I recommend enabling flux and using that if you’re running 1.7+.
Here is an example of a query that sums all my fields for cpu0

from(bucket: "my-bucket")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "cpu")
  |> filter(fn: (r) => r["cpu"] == "cpu0")
  |> group(columns: ["_time"], mode:"by")
  |> sum()
  |> group()