Update QUERIES.md

make changes to how list tag values works.
pull/1277/head
Paul Dix 2014-12-30 14:40:44 -05:00
parent d626ea5b3d
commit 6556ccd628
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ LIST TAG KEYS
LIST TAG KEYS FROM cpu
LIST TAG KEYS FROM temperature, wind_speed
-- list all the tag values. note that at least one WHERE key = '...' clause is required
LIST TAG VALUES WHERE key = 'region'
LIST TAG VALUES FROM cpu WHERE region = 'uswest' and key = 'host'
-- list all the tag values. note that a single WHERE TAG KEY = '...' clause is required
LIST TAG VALUES WHERE TAG KEY = 'region'
LIST TAG VALUES FROM cpu WHERE region = 'uswest' and TAG KEY = 'host'
-- and you can do stuff against fields
LIST FIELD KEYS FROM cpu