Hi,
I have code to query data using CLI version 1.8.
now we upgrade to version 2.3, and the calls doesn’t work. I saw the syntax has changed dramatically, but wonder if there is some backward compatibility.
the call in version 1.8 is as follows (bat file):
SET start=%1
SET end=%2
cd “C:\Program Files\InfluxDB”
influx.exe -execute “use telegraf”
influx -database “telegraf” -execute “select mean(*) from win_cpu where time > ‘%start%’ AND time < ‘%end%’”
please let me know how to run this call in version 2.3.
thx in advance