Query a time range relative to v.timeRangeStart and v.timeRangeStop

You can use the date.add() or date.sub() command.

E.g.

import "date"
|> range(start: date.sub(d: 10m, from: v.timeRangeStart), stop: v.timeRangeStop)
1 Like