With influxdb 1.8.3, using the cli:
influx -type=flux -path-prefix /api/v2/query -format json -execute 'from(bucket:"test_cardinalite/autogen") |> range(start: -150000h) |> count()'
work perfectly
influx -type=flux -path-prefix /api/v2/query -format json -execute 'from(bucket:"test_cardinalite/autogen") |> count()'
get me a 500 internal Server Error
Can’t we skip the range ?
(note that I should use the “-path-prefix” fix or i get a 404)