How to Reslove Last(*) error in Influxdb ( expected field argument in last())
SELECT LAST(*) FROM powers
Getting an error like: ERR: error parsing query: expected field argument in last()You can pass Instanceof last(*) this one.
SELECT LAST(node) as node, last(node_name) as node_name, last(location) as location," \ " last(shuntVoltage) as shutVoltage, last(loadVoltage) as loadVoltage, " \ "last(current) as current, last(busVoltage) as busVoltage from powers where time>=now()-'15m' and node="
Comments
Post a Comment