I'm new with Influx, and although I can get range
, filter
, sort
and group
to work, I just can't get limit
to work.
I'm using Influx OSS 2.3 and I'd assume the query should look like this:
from(bucket: "readings")
|> range(start: - 1d)
|> limit(n:10)
I've tried both through the Data explorer and the C# sdk, but it always returns 400 records.
If I use offset
I'm not getting any records:
from(bucket: "readings")
|> range(start: - 1d)
|> limit(n:10, offset:2)
Thanks for the help