influxdb/tests/query_with_gzip.sh

3 lines
200 B
Bash
Raw Normal View History

2015-02-04 23:22:12 +00:00
echo "querying data with gzip encoding"
curl -v -G --compressed http://localhost:8086/query --data-urlencode "db=foo" --data-urlencode "q=SELECT sum(value) FROM \"foo\".\"bar\".cpu GROUP BY time(1h)"