chore: Remove redundant Flux tests

pull/10616/head
Nathaniel Cook 2018-09-14 15:32:15 -06:00
parent d65a864ec5
commit 71e13c8e8f
175 changed files with 0 additions and 2966 deletions

View File

@ -1,3 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-23T13:09:22.885021542Z)
|> derivative(unit:100ms)

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,34.98234271799806,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,34.98234941084654,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,34.98204153981662,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,34.982252364543626,used_percent,disk,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string string
2 #group false false false false false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 34.98234271799806 used_percent disk disk1s1 apfs host.local /
6 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 34.98234941084654 used_percent disk disk1s1 apfs host.local /
7 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
8 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
9 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 34.98204153981662 used_percent disk disk1s1 apfs host.local /
10 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 34.982252364543626 used_percent disk disk1s1 apfs host.local /

View File

@ -1 +0,0 @@
select derivative("used_percent") FROM testdb..disk

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0.00000006692848479872282,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0.0000009788290896750597,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,-0.000004057539388853115,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0.0000021082472700584276,used_percent,disk,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string string
2 #group false false false false false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0.00000006692848479872282 used_percent disk disk1s1 apfs host.local /
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0.0000009788290896750597 used_percent disk disk1s1 apfs host.local /
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 used_percent disk disk1s1 apfs host.local /
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z -0.000004057539388853115 used_percent disk disk1s1 apfs host.local /
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0.0000021082472700584276 used_percent disk disk1s1 apfs host.local /

View File

@ -1,3 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> derivative(unit:100ms, nonNegative: true)

View File

@ -1,13 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,10,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:26Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:36Z,20,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:46Z,7,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:56Z,10,usage_guest_nice,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 4 usage_guest_nice cpu cpu-total host.local
6 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 4 usage_guest_nice cpu cpu-total host.local
7 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
8 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 2 usage_guest_nice cpu cpu-total host.local
9 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 10 usage_guest_nice cpu cpu-total host.local
10 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:26Z 4 usage_guest_nice cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:36Z 20 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:46Z 7 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:56Z 10 usage_guest_nice cpu cpu-total host.local

View File

@ -1,13 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,0.02,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,0.08,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:26Z,0.04,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:36Z,0.16,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:46Z,0.07,usage_guest_nice,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:56Z,0.03,usage_guest_nice,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
6 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
7 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 0.02 usage_guest_nice cpu cpu-total host.local
8 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 0.08 usage_guest_nice cpu cpu-total host.local
9 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:26Z 0.04 usage_guest_nice cpu cpu-total host.local
10 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:36Z 0.16 usage_guest_nice cpu cpu-total host.local
11 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:46Z 0.07 usage_guest_nice cpu cpu-total host.local
12 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:56Z 0.03 usage_guest_nice cpu cpu-total host.local

View File

@ -1,3 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> difference()

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,34.98234271799806,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,34.98234941084654,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,34.98204153981662,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,34.982252364543626,used_percent,disk,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string string
2 #group false false false false false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 34.98234271799806 used_percent disk disk1s1 apfs host.local /
6 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 34.98234941084654 used_percent disk disk1s1 apfs host.local /
7 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
8 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
9 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 34.98204153981662 used_percent disk disk1s1 apfs host.local /
10 96 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 34.982252364543626 used_percent disk disk1s1 apfs host.local /

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0.000006692848479872282,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0.00009788290896750595,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,-0.0004057539388853115,used_percent,disk,disk1s1,apfs,host.local,/
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0.00021082472700584276,used_percent,disk,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string string
2 #group false false false false false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0.000006692848479872282 used_percent disk disk1s1 apfs host.local /
6 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0.00009788290896750595 used_percent disk disk1s1 apfs host.local /
7 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 used_percent disk disk1s1 apfs host.local /
8 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z -0.0004057539388853115 used_percent disk disk1s1 apfs host.local /
9 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0.00021082472700584276 used_percent disk disk1s1 apfs host.local /

View File

@ -1,3 +0,0 @@
from(bucket:"test")
|> range(start:2018-05-22T19:53:26Z)
|> difference(nonNegative:true)

View File

@ -1,5 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,1,usage_guest,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 1 usage_guest cpu cpu-total host.local

View File

@ -1,5 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,0,,,,,usage_guest,cpu,cpu-total,host.local
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result 0 usage_guest cpu cpu-total host.local
4 result table _start _stop _time _value _field _measurement cpu host

View File

@ -1,6 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> filter(fn: (r) => r._field == "no_exist")
|> difference()

View File

@ -1,12 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,1,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,2,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,3,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,5,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,1,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,4,field1,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 1 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 2 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 3 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 5 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 1 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 2 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 4 field1 cpu cpu-total host.local

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,0,,,,,usage_guest,cpu,cpu-total,host.local
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,1,,,,,usage_guest_nice,cpu,cpu-total,host.local
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result 0 usage_guest cpu cpu-total host.local
4 result table _start _stop _time _value _field _measurement cpu host
5 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
6 #group false false false false false false true true true true
7 #default _result 1 usage_guest_nice cpu cpu-total host.local
8 result table _start _stop _time _value _field _measurement cpu host

View File

@ -1,4 +0,0 @@
from(bucket: "test")
|> range(start: 2018-05-22T19:53:26Z)
|> rename(columns: {old: "new"})
|> drop(columns: ["old"])

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,2 +0,0 @@
error,reference
"drop error: column ""old"" doesn't exist",
1 error reference
2 drop error: column "old" doesn't exist

View File

@ -1,7 +0,0 @@
from(bucket: "test")
|> range(start: 2018-05-22T19:53:26Z)
|> drop(columns: ["old"])
|> rename(columns: {old: "new"})
|> yield(name: "0")

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,2 +0,0 @@
error,reference
"rename error: column ""old"" doesn't exist",
1 error reference
2 rename error: column "old" doesn't exist

View File

@ -1,4 +0,0 @@
from(bucket: "test")
|> range(start: 2018-05-22T19:53:26Z)
|> rename(columns:{old:"new"})
|> drop(columns: ["new"])

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,23 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
#group,false,false,false,false,false,false,true,true,true
#default,_result,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,host.local
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,host.local
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,host.local
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,host.local
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,host.local
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,host.local
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string
2 #group false false false false false false true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host
5 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu host.local
6 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu host.local
7 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu host.local
8 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu host.local
9 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu host.local
10 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu host.local
11 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu host.local
12 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu host.local
13 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu host.local
14 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu host.local
15 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu host.local
16 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu host.local
17 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu host.local
18 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu host.local
19 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu host.local
20 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu host.local
21 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu host.local
22 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu host.local

View File

@ -1,5 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> drop(columns:["new"])
|> rename(columns: {old:"new"})

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,2 +0,0 @@
error,reference
"drop error: column ""new"" doesn't exist",
1 error reference
2 drop error: column "new" doesn't exist

View File

@ -1,4 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> drop(columns: ["_field"])
|> filter(fn: (r) => r._field == "usage_guest")

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,2 +0,0 @@
error,reference
"function references unknown column ""_field""",
1 error reference
2 function references unknown column "_field"

View File

@ -1,4 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> drop(columns: ["_measurement"])
|> filter(fn: (r) => r._field == "usage_guest")

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,21 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
#group,false,false,false,false,false,false,true,true,true
#default,_result,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,old,host
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu-total,host.local
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
#group,false,false,false,false,false,false,true,true,true
#default,_result,1,,,,,usage_guest_nice,cpu-total,host.local
,result,table,_start,_stop,_time,_value,_field,old,host
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
#group,false,false,false,false,false,false,true,true,true
#default,_result,2,,,,,usage_idle,cpu-total,host.local
,result,table,_start,_stop,_time,_value,_field,old,host
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string
2 #group false false false false false false true true true
3 #default _result
4 result table _start _stop _time _value _field old host
5 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu-total host.local
6 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu-total host.local
7 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu-total host.local
8 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu-total host.local
9 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu-total host.local
10 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu-total host.local
11 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string
12 #group false false false false false false true true true
13 #default _result 1 usage_guest_nice cpu-total host.local
14 result table _start _stop _time _value _field old host
15 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string
16 #group false false false false false false true true true
17 #default _result 2 usage_idle cpu-total host.local
18 result table _start _stop _time _value _field old host

View File

@ -1,3 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> duplicate(column: "host", as: "host_new")

View File

@ -1,16 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local

View File

@ -1,17 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true,false
#default,_result,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host,host_new
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string
2 #group false false false false false false true true true true false
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host host_new
5 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local host.local
6 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local host.local
7 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local host.local
8 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local host.local
9 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local host.local
10 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local host.local
11 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local host.local
12 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local host.local
13 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local host.local
14 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local host.local
15 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local host.local
16 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local host.local

View File

@ -1,6 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-20T19:53:26Z)
|> filter(fn: (r) => r["name"] =~ /.*0/)
|> group(by: ["_measurement", "_start"])
|> map(fn: (r) => {_time: r._time, io_time: r._value})
|> yield(name:"0")

View File

@ -1,16 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host,name
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,15204688,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,15204894,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,15205102,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,15205226,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,15205499,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,15205755,io_time,diskio,host.local,disk0
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,648,io_time,diskio,host.local,disk2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host name
5 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 15204688 io_time diskio host.local disk0
6 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 15204894 io_time diskio host.local disk0
7 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 15205102 io_time diskio host.local disk0
8 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 15205226 io_time diskio host.local disk0
9 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 15205499 io_time diskio host.local disk0
10 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 15205755 io_time diskio host.local disk0
11 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 648 io_time diskio host.local disk2
12 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 648 io_time diskio host.local disk2
13 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 648 io_time diskio host.local disk2
14 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 648 io_time diskio host.local disk2
15 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 648 io_time diskio host.local disk2
16 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 648 io_time diskio host.local disk2

View File

@ -1 +0,0 @@
select io_time from testdb..diskio where "name" =~ /.*0/

View File

@ -1,11 +0,0 @@
#datatype,string,long,dateTime:RFC3339,string,dateTime:RFC3339,long
#group,false,false,true,true,false,false
#default,0,,,,,
,result,table,_start,_measurement,_time,io_time
,,0,2018-05-22T19:53:26Z,diskio,2018-05-22T19:53:26Z,15204688
,,0,2018-05-22T19:53:26Z,diskio,2018-05-22T19:53:36Z,15204894
,,0,2018-05-22T19:53:26Z,diskio,2018-05-22T19:53:46Z,15205102
,,0,2018-05-22T19:53:26Z,diskio,2018-05-22T19:53:56Z,15205226
,,0,2018-05-22T19:53:26Z,diskio,2018-05-22T19:54:06Z,15205499
,,0,2018-05-22T19:53:26Z,diskio,2018-05-22T19:54:16Z,15205755
1 #datatype string long dateTime:RFC3339 string dateTime:RFC3339 long
2 #group false false true true false false
3 #default 0
4 result table _start _measurement _time io_time
5 0 2018-05-22T19:53:26Z diskio 2018-05-22T19:53:26Z 15204688
6 0 2018-05-22T19:53:26Z diskio 2018-05-22T19:53:36Z 15204894
7 0 2018-05-22T19:53:26Z diskio 2018-05-22T19:53:46Z 15205102
8 0 2018-05-22T19:53:26Z diskio 2018-05-22T19:53:56Z 15205226
9 0 2018-05-22T19:53:26Z diskio 2018-05-22T19:54:06Z 15205499
10 0 2018-05-22T19:53:26Z diskio 2018-05-22T19:54:16Z 15205755

View File

@ -1,6 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-22T19:53:26Z)
|> filter(fn: (r) => r["name"] == "disk0")
|> group(by: ["_measurement"])
|> map(fn: (r) => {_time: r._time, io_time: r._value})
|> yield(name:"0")

View File

@ -1,16 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host,name
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,15204688,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,15204894,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,15205102,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,15205226,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,15205499,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,15205755,io_time,diskio,host.local,disk0
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,648,io_time,diskio,host.local,disk2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host name
5 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 15204688 io_time diskio host.local disk0
6 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 15204894 io_time diskio host.local disk0
7 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 15205102 io_time diskio host.local disk0
8 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 15205226 io_time diskio host.local disk0
9 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 15205499 io_time diskio host.local disk0
10 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 15205755 io_time diskio host.local disk0
11 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 648 io_time diskio host.local disk2
12 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 648 io_time diskio host.local disk2
13 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 648 io_time diskio host.local disk2
14 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 648 io_time diskio host.local disk2
15 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 648 io_time diskio host.local disk2
16 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 648 io_time diskio host.local disk2

View File

@ -1 +0,0 @@
select io_time from testdb..diskio where "name" = 'disk0'

View File

@ -1,11 +0,0 @@
#datatype,string,long,string,dateTime:RFC3339,long
#group,false,false,true,false,false
#default,0,,,,
,result,table,_measurement,_time,io_time
,,0,diskio,2018-05-22T19:53:26Z,15204688
,,0,diskio,2018-05-22T19:53:36Z,15204894
,,0,diskio,2018-05-22T19:53:46Z,15205102
,,0,diskio,2018-05-22T19:53:56Z,15205226
,,0,diskio,2018-05-22T19:54:06Z,15205499
,,0,diskio,2018-05-22T19:54:16Z,15205755
1 #datatype string long string dateTime:RFC3339 long
2 #group false false true false false
3 #default 0
4 result table _measurement _time io_time
5 0 diskio 2018-05-22T19:53:26Z 15204688
6 0 diskio 2018-05-22T19:53:36Z 15204894
7 0 diskio 2018-05-22T19:53:46Z 15205102
8 0 diskio 2018-05-22T19:53:56Z 15205226
9 0 diskio 2018-05-22T19:54:06Z 15205499
10 0 diskio 2018-05-22T19:54:16Z 15205755

View File

@ -1,3 +0,0 @@
fromRows(bucket:"testdb")
|> range(start: 2018-05-22T19:53:26Z, stop: 2018-05-22T19:54:17Z)
|> yield(name:"0")

View File

@ -1,28 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string
#group,false,false,false,false,false,false,true,true,true
#default,_result,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host
,,161,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,82.9833984375,used_percent,swap,host.local
,,161,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,82.598876953125,used_percent,swap,host.local
,,161,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,82.598876953125,used_percent,swap,host.local
,,161,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,82.598876953125,used_percent,swap,host.local
,,161,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,82.598876953125,used_percent,swap,host.local
,,161,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,82.6416015625,used_percent,swap,host.local
,,162,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,1.83,load1,system,host.local
,,162,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,1.7,load1,system,host.local
,,162,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,1.74,load1,system,host.local
,,162,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,1.63,load1,system,host.local
,,162,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,1.91,load1,system,host.local
,,162,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,1.84,load1,system,host.local
,,163,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,1.98,load15,system,host.local
,,163,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,1.97,load15,system,host.local
,,163,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,1.97,load15,system,host.local
,,163,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,1.96,load15,system,host.local
,,163,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,1.98,load15,system,host.local
,,163,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,1.97,load15,system,host.local
,,164,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,1.95,load5,system,host.local
,,164,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,1.92,load5,system,host.local
,,164,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,1.92,load5,system,host.local
,,164,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,1.89,load5,system,host.local
,,164,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,1.94,load5,system,host.local
,,164,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,1.93,load5,system,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string
2 #group false false false false false false true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host
5 161 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 82.9833984375 used_percent swap host.local
6 161 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 82.598876953125 used_percent swap host.local
7 161 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 82.598876953125 used_percent swap host.local
8 161 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 82.598876953125 used_percent swap host.local
9 161 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 82.598876953125 used_percent swap host.local
10 161 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 82.6416015625 used_percent swap host.local
11 162 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 1.83 load1 system host.local
12 162 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 1.7 load1 system host.local
13 162 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 1.74 load1 system host.local
14 162 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 1.63 load1 system host.local
15 162 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 1.91 load1 system host.local
16 162 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 1.84 load1 system host.local
17 163 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 1.98 load15 system host.local
18 163 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 1.97 load15 system host.local
19 163 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 1.97 load15 system host.local
20 163 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 1.96 load15 system host.local
21 163 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 1.98 load15 system host.local
22 163 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 1.97 load15 system host.local
23 164 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 1.95 load5 system host.local
24 164 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 1.92 load5 system host.local
25 164 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 1.92 load5 system host.local
26 164 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 1.89 load5 system host.local
27 164 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 1.94 load5 system host.local
28 164 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 1.93 load5 system host.local

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,string,string,double,dateTime:RFC3339,dateTime:RFC3339
#group,false,false,false,true,true,false,false,false
#default,0,,,,,,,
,result,table,_time,_measurement,host,used_percent,_start,_stop
,,0,2018-05-22T19:53:26Z,swap,host.local,82.9833984375,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,0,2018-05-22T19:53:36Z,swap,host.local,82.598876953125,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,0,2018-05-22T19:53:46Z,swap,host.local,82.598876953125,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,0,2018-05-22T19:53:56Z,swap,host.local,82.598876953125,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,0,2018-05-22T19:54:06Z,swap,host.local,82.598876953125,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,0,2018-05-22T19:54:16Z,swap,host.local,82.6416015625,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
#datatype,string,long,dateTime:RFC3339,string,string,double,double,double,dateTime:RFC3339,dateTime:RFC3339
#group,false,false,false,true,true,false,false,false,false,false
#default,0,,,,,,,,,
,result,table,_time,_measurement,host,load1,load15,load5,_start,_stop
,,1,2018-05-22T19:53:26Z,system,host.local,1.83,1.98,1.95,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,1,2018-05-22T19:53:36Z,system,host.local,1.7,1.97,1.92,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,1,2018-05-22T19:53:46Z,system,host.local,1.74,1.97,1.92,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,1,2018-05-22T19:53:56Z,system,host.local,1.63,1.96,1.89,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,1,2018-05-22T19:54:06Z,system,host.local,1.91,1.98,1.94,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
,,1,2018-05-22T19:54:16Z,system,host.local,1.84,1.97,1.93,2018-05-22T19:53:26Z,2018-05-22T19:54:17Z
Can't render this file because it has a wrong number of fields in line 12.

View File

@ -1,7 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-22T19:53:26Z)
|> filter(fn: (r) => r._measurement == "diskio" and r._field == "io_time")
|> group(by: ["_measurement", "_start", "name"])
|> max()
|> map(fn: (r) => {_time: r._time, max: r._value})
|> yield(name: "0")

View File

@ -1,16 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host,name
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,15204688,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,15204894,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,15205102,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,15205226,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,15205499,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,15205755,io_time,diskio,host.local,disk0
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,648,io_time,diskio,host.local,disk2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host name
5 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 15204688 io_time diskio host.local disk0
6 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 15204894 io_time diskio host.local disk0
7 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 15205102 io_time diskio host.local disk0
8 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 15205226 io_time diskio host.local disk0
9 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 15205499 io_time diskio host.local disk0
10 1 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 15205755 io_time diskio host.local disk0
11 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 648 io_time diskio host.local disk2
12 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 648 io_time diskio host.local disk2
13 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 648 io_time diskio host.local disk2
14 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 648 io_time diskio host.local disk2
15 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 648 io_time diskio host.local disk2
16 10 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 648 io_time diskio host.local disk2

View File

@ -1 +0,0 @@
SELECT max(io_time) FROM testdb..diskio GROUP BY "name"

View File

@ -1,7 +0,0 @@
#datatype,string,long,dateTime:RFC3339,string,string,dateTime:RFC3339,long
#group,false,false,true,true,true,false,false
#default,0,,,,,,
,result,table,_start,_measurement,name,_time,max
,,0,2018-05-22T19:53:26Z,diskio,disk0,2018-05-22T19:54:16Z,15205755
,,1,2018-05-22T19:53:26Z,diskio,disk2,2018-05-22T19:53:26Z,648
1 #datatype string long dateTime:RFC3339 string string dateTime:RFC3339 long
2 #group false false true true true false false
3 #default 0
4 result table _start _measurement name _time max
5 0 2018-05-22T19:53:26Z diskio disk0 2018-05-22T19:54:16Z 15205755
6 1 2018-05-22T19:53:26Z diskio disk2 2018-05-22T19:53:26Z 648

View File

@ -1,3 +0,0 @@
from(bucket:"test")
|> range(start:2018-05-22T19:53:26Z)
|> group(by: ["_value"])

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host1
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host2
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host1
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host2
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host1
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host1
6 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host2
7 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host1
8 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host2
9 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host1
10 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host2

View File

@ -1,11 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,true,false,false,false,false
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host1
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host2
,,2,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host2
,,3,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host2
,,4,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host1
,,5,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host1
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false true false false false false
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host1
6 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host2
7 2 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host2
8 3 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host2
9 4 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host1
10 5 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host1

View File

@ -1,4 +0,0 @@
from(bucket:"test")
|> range(start:2018-05-22T19:53:26Z)
|> group(except:["_measurement", "_time", "_value"])
|> max()

View File

@ -1,16 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host,name
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,15204688,io_time,diskio1,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,15204894,io_time,diskio1,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,15205102,io_time,diskio1,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,15205226,io_time,diskio1,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,15205499,io_time,diskio2,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,15205755,io_time,diskio2,host.local,disk0
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,648,io_time,diskio2,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,648,io_time,diskio2,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,648,io_time,diskio3,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,648,io_time,diskio3,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,648,io_time,diskio3,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,648,io_time,diskio3,host.local,disk2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host name
5 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 15204688 io_time diskio1 host.local disk0
6 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 15204894 io_time diskio1 host.local disk0
7 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 15205102 io_time diskio1 host.local disk0
8 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 15205226 io_time diskio1 host.local disk0
9 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 15205499 io_time diskio2 host.local disk0
10 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 15205755 io_time diskio2 host.local disk0
11 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 648 io_time diskio2 host.local disk2
12 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 648 io_time diskio2 host.local disk2
13 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 648 io_time diskio3 host.local disk2
14 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 648 io_time diskio3 host.local disk2
15 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 648 io_time diskio3 host.local disk2
16 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 648 io_time diskio3 host.local disk2

View File

@ -1,7 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string
#group,false,false,true,true,false,false,true,false,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host,name
,,0,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,15205755,io_time,diskio2,host.local,disk0
,,1,2018-05-22T19:53:26Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,648,io_time,diskio2,host.local,disk2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string
2 #group false false true true false false true false true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host name
5 0 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 15205755 io_time diskio2 host.local disk0
6 1 2018-05-22T19:53:26Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 648 io_time diskio2 host.local disk2

View File

@ -1,6 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-22T19:53:26Z)
|> group(by: ["name"])
|> group()
|> map(fn: (r) => {_time: r._time, io_time:r._value})
|> yield(name:"0")

View File

@ -1,16 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,host,name
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,15204688,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,15204894,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,15205102,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,15205226,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,15205499,io_time,diskio,host.local,disk0
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,15205755,io_time,diskio,host.local,disk0
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,648,io_time,diskio,host.local,disk2
,,10,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,648,io_time,diskio,host.local,disk2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement host name
5 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 15204688 io_time diskio host.local disk0
6 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 15204894 io_time diskio host.local disk0
7 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 15205102 io_time diskio host.local disk0
8 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 15205226 io_time diskio host.local disk0
9 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 15205499 io_time diskio host.local disk0
10 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 15205755 io_time diskio host.local disk0
11 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 648 io_time diskio host.local disk2
12 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 648 io_time diskio host.local disk2
13 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 648 io_time diskio host.local disk2
14 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 648 io_time diskio host.local disk2
15 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 648 io_time diskio host.local disk2
16 10 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 648 io_time diskio host.local disk2

View File

@ -1,17 +0,0 @@
#datatype,string,long,dateTime:RFC3339,long
#group,false,false,false,false
#default,0,,,
,result,table,_time,io_time
,,0,2018-05-22T19:53:26Z,15204688
,,0,2018-05-22T19:53:36Z,15204894
,,0,2018-05-22T19:53:46Z,15205102
,,0,2018-05-22T19:53:56Z,15205226
,,0,2018-05-22T19:54:06Z,15205499
,,0,2018-05-22T19:54:16Z,15205755
,,0,2018-05-22T19:53:26Z,648
,,0,2018-05-22T19:53:36Z,648
,,0,2018-05-22T19:53:46Z,648
,,0,2018-05-22T19:53:56Z,648
,,0,2018-05-22T19:54:06Z,648
,,0,2018-05-22T19:54:16Z,648
1 #datatype string long dateTime:RFC3339 long
2 #group false false false false
3 #default 0
4 result table _time io_time
5 0 2018-05-22T19:53:26Z 15204688
6 0 2018-05-22T19:53:36Z 15204894
7 0 2018-05-22T19:53:46Z 15205102
8 0 2018-05-22T19:53:56Z 15205226
9 0 2018-05-22T19:54:06Z 15205499
10 0 2018-05-22T19:54:16Z 15205755
11 0 2018-05-22T19:53:26Z 648
12 0 2018-05-22T19:53:36Z 648
13 0 2018-05-22T19:53:46Z 648
14 0 2018-05-22T19:53:56Z 648
15 0 2018-05-22T19:54:06Z 648
16 0 2018-05-22T19:54:16Z 648

View File

@ -1,3 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-22T19:53:00Z)
|> histogramQuantile(quantile:0.90,upperBoundColumn:"le")

View File

@ -1,21 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,string,double,double
#group,false,false,true,true,true,true,false,false
#default,_result,,,,,,,
,result,table,_start,_stop,_time,_field,_value,le
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,1,0.1
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,2,0.2
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,2,0.3
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,2,0.4
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,2,0.5
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,2,0.6
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,2,0.7
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,8,0.8
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,10,0.9
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,10,+Inf
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,0,-Inf
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,10,0.2
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,15,0.4
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,25,0.6
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,35,0.8
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,45,1.0
,,2,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,45,+Inf
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 string double double
2 #group false false true true true true false false
3 #default _result
4 result table _start _stop _time _field _value le
5 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 1 0.1
6 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 2 0.2
7 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 2 0.3
8 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 2 0.4
9 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 2 0.5
10 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 2 0.6
11 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 2 0.7
12 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 8 0.8
13 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 10 0.9
14 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 10 +Inf
15 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 0 -Inf
16 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 10 0.2
17 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 15 0.4
18 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 25 0.6
19 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 35 0.8
20 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 45 1.0
21 2 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 45 +Inf

View File

@ -1,7 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,string,double
#group,false,false,true,true,true,true,false
#default,_result,,,,,,
,result,table,_start,_stop,_time,_field,_value
,,0,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,x_duration_seconds,0.8500000000000001
,,1,2018-05-22T19:53:00Z,2018-05-22T19:54:00Z,2018-05-22T19:53:00Z,y_duration_seconds,0.91
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 string double
2 #group false false true true true true false
3 #default _result
4 result table _start _stop _time _field _value
5 0 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z x_duration_seconds 0.8500000000000001
6 1 2018-05-22T19:53:00Z 2018-05-22T19:54:00Z 2018-05-22T19:53:00Z y_duration_seconds 0.91

View File

@ -1,4 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> increase()

View File

@ -1,20 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:26Z,1,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,2,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,3,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,5,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,1,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:26Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,10,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:26Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:36Z,20,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:46Z,7,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00Z,2018-05-22T19:54:56Z,10,usage_guest_nice,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:26Z 1 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 2 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 3 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 5 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 1 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:26Z 2 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 4 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 4 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 2 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 10 usage_guest_nice cpu cpu-total host.local
17 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:26Z 4 usage_guest_nice cpu cpu-total host.local
18 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:36Z 20 usage_guest_nice cpu cpu-total host.local
19 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:46Z 7 usage_guest_nice cpu cpu-total host.local
20 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00Z 2018-05-22T19:54:56Z 10 usage_guest_nice cpu cpu-total host.local

View File

@ -1,19 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,1,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,2,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,4,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,4,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,5,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,2,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,4,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,12,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:26Z,16,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:36Z,32,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:46Z,39,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:26Z,2018-05-22T19:55:00Z,2018-05-22T19:54:56Z,42,usage_guest_nice,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 1 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 2 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 4 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 4 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 5 usage_guest cpu cpu-total host.local
10 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 2 usage_guest_nice cpu cpu-total host.local
11 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 2 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 2 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 4 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 12 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:26Z 16 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:36Z 32 usage_guest_nice cpu cpu-total host.local
17 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:46Z 39 usage_guest_nice cpu cpu-total host.local
18 1 2018-05-22T19:53:26Z 2018-05-22T19:55:00Z 2018-05-22T19:54:56Z 42 usage_guest_nice cpu cpu-total host.local

View File

@ -1,17 +0,0 @@
left = from(bucket: "test")
|> range(start:2018-05-22T19:53:00Z, stop:2018-05-22T19:55:00Z)
|> drop(columns: ["_start", "_stop"])
|> filter(fn: (r) => r.user == "user1")
|> group(by: ["user"])
right = from(bucket: "test")
|> range(start:2018-05-22T19:53:00Z, stop:2018-05-22T19:55:00Z)
|> drop(columns: ["_start", "_stop"])
|> filter(fn: (r) => r.user == "user2")
|> group(by: ["_measurement"])
join(tables: {left:left, right:right}, on: ["_time", "_measurement"])
|> rename(columns: {
left__value: "left_value",
right__value: "right_value"
})

View File

@ -1,20 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string
#group,false,false,false,false,false,false,true,true
#default,_result,,,,,,,
,result,table,_start,_stop,_time,_value,_measurement,user
,,0,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:26Z,1,RAM,user1
,,0,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,2,RAM,user1
,,0,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,3,RAM,user1
,,0,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,5,RAM,user1
,,1,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:26Z,0,CPU,user1
,,1,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,1,CPU,user1
,,2,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:26Z,2,RAM,user2
,,2,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,4,RAM,user2
,,2,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,4,RAM,user2
,,2,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,0,RAM,user2
,,2,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:54:06Z,2,RAM,user2
,,2,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:54:16Z,10,RAM,user2
,,3,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:26Z,4,CPU,user2
,,3,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:36Z,20,CPU,user2
,,3,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:46Z,7,CPU,user2
,,3,2018-05-22T19:53:00Z,2018-05-22T19:55:00Z,2018-05-22T19:53:56Z,10,CPU,user2
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string
2 #group false false false false false false true true
3 #default _result
4 result table _start _stop _time _value _measurement user
5 0 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:26Z 1 RAM user1
6 0 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 2 RAM user1
7 0 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 3 RAM user1
8 0 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 5 RAM user1
9 1 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:26Z 0 CPU user1
10 1 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 1 CPU user1
11 2 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:26Z 2 RAM user2
12 2 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 4 RAM user2
13 2 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 4 RAM user2
14 2 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 0 RAM user2
15 2 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:54:06Z 2 RAM user2
16 2 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:54:16Z 10 RAM user2
17 3 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:26Z 4 CPU user2
18 3 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:36Z 20 CPU user2
19 3 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:46Z 7 CPU user2
20 3 2018-05-22T19:53:00Z 2018-05-22T19:55:00Z 2018-05-22T19:53:56Z 10 CPU user2

View File

@ -1,11 +0,0 @@
#datatype,string,long,string,dateTime:RFC3339,double,string,double,string
#group,false,false,true,false,false,true,false,false
#default,_result,,,,,,,
,result,table,_measurement,_time,left_value,left_user,right_value,right_user
,,0,CPU,2018-05-22T19:53:26Z,0,user1,4,user2
,,0,CPU,2018-05-22T19:53:36Z,1,user1,20,user2
,,1,RAM,2018-05-22T19:53:26Z,1,user1,2,user2
,,1,RAM,2018-05-22T19:53:36Z,2,user1,4,user2
,,1,RAM,2018-05-22T19:53:46Z,3,user1,4,user2
,,1,RAM,2018-05-22T19:53:56Z,5,user1,0,user2
1 #datatype string long string dateTime:RFC3339 double string double string
2 #group false false true false false true false false
3 #default _result
4 result table _measurement _time left_value left_user right_value right_user
5 0 CPU 2018-05-22T19:53:26Z 0 user1 4 user2
6 0 CPU 2018-05-22T19:53:36Z 1 user1 20 user2
7 1 RAM 2018-05-22T19:53:26Z 1 user1 2 user2
8 1 RAM 2018-05-22T19:53:36Z 2 user1 4 user2
9 1 RAM 2018-05-22T19:53:46Z 3 user1 4 user2
10 1 RAM 2018-05-22T19:53:56Z 5 user1 0 user2

View File

@ -1,3 +0,0 @@
from(bucket: "test")
|> range(start: 2018-05-22T19:53:26Z)
|> keep(columns: ["_time", "_value", "_field"])

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,23 +0,0 @@
#datatype,string,long,dateTime:RFC3339,double,string
#group,false,false,false,false,true
#default,_result,,,,
,result,table,_time,_value,_field
,,0,2018-05-22T19:53:26Z,0,usage_guest
,,0,2018-05-22T19:53:36Z,0,usage_guest
,,0,2018-05-22T19:53:46Z,0,usage_guest
,,0,2018-05-22T19:53:56Z,0,usage_guest
,,0,2018-05-22T19:54:06Z,0,usage_guest
,,0,2018-05-22T19:54:16Z,0,usage_guest
,,1,2018-05-22T19:53:26Z,0,usage_guest_nice
,,1,2018-05-22T19:53:36Z,0,usage_guest_nice
,,1,2018-05-22T19:53:46Z,0,usage_guest_nice
,,1,2018-05-22T19:53:56Z,0,usage_guest_nice
,,1,2018-05-22T19:54:06Z,0,usage_guest_nice
,,1,2018-05-22T19:54:16Z,0,usage_guest_nice
,,2,2018-05-22T19:53:26Z,91.7364670583823,usage_idle
,,2,2018-05-22T19:53:36Z,89.51118889861233,usage_idle
,,2,2018-05-22T19:53:46Z,91.0977744436109,usage_idle
,,2,2018-05-22T19:53:56Z,91.02836436336374,usage_idle
,,2,2018-05-22T19:54:06Z,68.304576144036,usage_idle
,,2,2018-05-22T19:54:16Z,87.88598574821853,usage_idle
1 #datatype string long dateTime:RFC3339 double string
2 #group false false false false true
3 #default _result
4 result table _time _value _field
5 0 2018-05-22T19:53:26Z 0 usage_guest
6 0 2018-05-22T19:53:36Z 0 usage_guest
7 0 2018-05-22T19:53:46Z 0 usage_guest
8 0 2018-05-22T19:53:56Z 0 usage_guest
9 0 2018-05-22T19:54:06Z 0 usage_guest
10 0 2018-05-22T19:54:16Z 0 usage_guest
11 1 2018-05-22T19:53:26Z 0 usage_guest_nice
12 1 2018-05-22T19:53:36Z 0 usage_guest_nice
13 1 2018-05-22T19:53:46Z 0 usage_guest_nice
14 1 2018-05-22T19:53:56Z 0 usage_guest_nice
15 1 2018-05-22T19:54:06Z 0 usage_guest_nice
16 1 2018-05-22T19:54:16Z 0 usage_guest_nice
17 2 2018-05-22T19:53:26Z 91.7364670583823 usage_idle
18 2 2018-05-22T19:53:36Z 89.51118889861233 usage_idle
19 2 2018-05-22T19:53:46Z 91.0977744436109 usage_idle
20 2 2018-05-22T19:53:56Z 91.02836436336374 usage_idle
21 2 2018-05-22T19:54:06Z 68.304576144036 usage_idle
22 2 2018-05-22T19:54:16Z 87.88598574821853 usage_idle

View File

@ -1,4 +0,0 @@
from(bucket: "test")
|> range(start: 2018-05-22T19:53:26Z)
|> keep(fn: (col) => col == "_field" or col == "_value")
|> keep(fn: (col) => {return col == "_value"})

View File

@ -1,22 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,old,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement old host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local

View File

@ -1,23 +0,0 @@
#datatype,string,long,double
#group,false,false,false
#default,_result,,
,result,table,_value
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,0
,,0,91.7364670583823
,,0,89.51118889861233
,,0,91.0977744436109
,,0,91.02836436336374
,,0,68.304576144036
,,0,87.88598574821853
1 #datatype string long double
2 #group false false false
3 #default _result
4 result table _value
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 0 91.7364670583823
18 0 89.51118889861233
19 0 91.0977744436109
20 0 91.02836436336374
21 0 68.304576144036
22 0 87.88598574821853

View File

@ -1,7 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> group(by:["_measurement", "_start"])
|> mean()
|> duplicate(column: "_start", as: "_time")
|> map(fn: (r) => {_time: r._time, mean: r._value})
|> yield(name: "0")

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string,string
#group,false,false,true,true,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,34.98234271799806,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,34.98234941084654,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,34.98204153981662,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,34.982252364543626,used_percent,disk,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string string
2 #group false false true true false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 34.98234271799806 used_percent disk disk1s1 apfs host.local /
6 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 34.98234941084654 used_percent disk disk1s1 apfs host.local /
7 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
8 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
9 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 34.98204153981662 used_percent disk disk1s1 apfs host.local /
10 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 34.982252364543626 used_percent disk disk1s1 apfs host.local /

View File

@ -1 +0,0 @@
select mean("used_percent") from telegraf..disk

View File

@ -1,6 +0,0 @@
#datatype,string,long,dateTime:RFC3339,string,dateTime:RFC3339,double
#group,false,false,true,true,false,false
#default,0,,,,,
,result,table,_start,_measurement,_time,mean
,,0,2018-05-22T19:53:26Z,disk,2018-05-22T19:53:26Z,34.98231343678598
1 #datatype string long dateTime:RFC3339 string dateTime:RFC3339 double
2 #group false false true true false false
3 #default 0
4 result table _start _measurement _time mean
5 0 2018-05-22T19:53:26Z disk 2018-05-22T19:53:26Z 34.98231343678598

View File

@ -1,6 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> filter(fn: (r) => r._measurement == "cpu")
|> group(by: ["_field"])
|> distinct(column: "_field")
|> group(none:true)

View File

@ -1,30 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_iowait,cpu,cpu-total,host.local
,,4,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_irq,cpu,cpu-total,host.local
,,4,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_irq,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local
23 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_iowait cpu cpu-total host.local
24 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_iowait cpu cpu-total host.local
25 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_iowait cpu cpu-total host.local
26 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_iowait cpu cpu-total host.local
27 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_iowait cpu cpu-total host.local
28 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_iowait cpu cpu-total host.local
29 4 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_irq cpu cpu-total host.local
30 4 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_irq cpu cpu-total host.local

View File

@ -1,10 +0,0 @@
#datatype,string,long,string,string
#group,false,false,false,false
#default,_result,,,
,result,table,_field,_value
,,0,usage_guest,usage_guest
,,0,usage_guest_nice,usage_guest_nice
,,0,usage_idle,usage_idle
,,0,usage_iowait,usage_iowait
,,0,usage_irq,usage_irq
1 #datatype string long string string
2 #group false false false false
3 #default _result
4 result table _field _value
5 0 usage_guest usage_guest
6 0 usage_guest_nice usage_guest_nice
7 0 usage_idle usage_idle
8 0 usage_iowait usage_iowait
9 0 usage_irq usage_irq

View File

@ -1,13 +0,0 @@
from(bucket:"test")
|> range(start:2018-05-22T19:53:26Z)
|> filter(fn: (r) => r._measurement == "cpu")
|> keys()
|> yield(name:"0")
from(bucket:"test")
|> range(start:2018-05-22T19:53:26Z)
|> filter(fn: (r) => r._measurement == "cpu")
|> group(by: ["host"])
|> distinct(column: "host")
|> group(none:true)
|> yield(name:"1")

View File

@ -1,30 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest_nice,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,91.7364670583823,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,89.51118889861233,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,91.0977744436109,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,91.02836436336374,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,68.304576144036,usage_idle,cpu,cpu-total,host.local
,,2,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,87.88598574821853,usage_idle,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_iowait,cpu,cpu-total,host.local
,,3,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_iowait,cpu,cpu-total,host.local
,,4,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_irq,cpu,cpu-total,host.local
,,4,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_irq,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local
12 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest_nice cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest_nice cpu cpu-total host.local
14 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest_nice cpu cpu-total host.local
15 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest_nice cpu cpu-total host.local
16 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest_nice cpu cpu-total host.local
17 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 91.7364670583823 usage_idle cpu cpu-total host.local
18 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 89.51118889861233 usage_idle cpu cpu-total host.local
19 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 91.0977744436109 usage_idle cpu cpu-total host.local
20 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 91.02836436336374 usage_idle cpu cpu-total host.local
21 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 68.304576144036 usage_idle cpu cpu-total host.local
22 2 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 87.88598574821853 usage_idle cpu cpu-total host.local
23 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_iowait cpu cpu-total host.local
24 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_iowait cpu cpu-total host.local
25 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_iowait cpu cpu-total host.local
26 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_iowait cpu cpu-total host.local
27 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_iowait cpu cpu-total host.local
28 3 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_iowait cpu cpu-total host.local
29 4 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_irq cpu cpu-total host.local
30 4 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_irq cpu cpu-total host.local

View File

@ -1,41 +0,0 @@
#datatype,string,long,string,string,string,string,string
#group,false,false,true,true,true,true,false
#default,0,,,,,,
,result,table,_field,_measurement,cpu,host,_value
,,0,usage_guest,cpu,cpu-total,host.local,_field
,,0,usage_guest,cpu,cpu-total,host.local,_measurement
,,0,usage_guest,cpu,cpu-total,host.local,_start
,,0,usage_guest,cpu,cpu-total,host.local,_stop
,,0,usage_guest,cpu,cpu-total,host.local,cpu
,,0,usage_guest,cpu,cpu-total,host.local,host
,,1,usage_guest_nice,cpu,cpu-total,host.local,_field
,,1,usage_guest_nice,cpu,cpu-total,host.local,_measurement
,,1,usage_guest_nice,cpu,cpu-total,host.local,_start
,,1,usage_guest_nice,cpu,cpu-total,host.local,_stop
,,1,usage_guest_nice,cpu,cpu-total,host.local,cpu
,,1,usage_guest_nice,cpu,cpu-total,host.local,host
,,2,usage_idle,cpu,cpu-total,host.local,_field
,,2,usage_idle,cpu,cpu-total,host.local,_measurement
,,2,usage_idle,cpu,cpu-total,host.local,_start
,,2,usage_idle,cpu,cpu-total,host.local,_stop
,,2,usage_idle,cpu,cpu-total,host.local,cpu
,,2,usage_idle,cpu,cpu-total,host.local,host
,,3,usage_iowait,cpu,cpu-total,host.local,_field
,,3,usage_iowait,cpu,cpu-total,host.local,_measurement
,,3,usage_iowait,cpu,cpu-total,host.local,_start
,,3,usage_iowait,cpu,cpu-total,host.local,_stop
,,3,usage_iowait,cpu,cpu-total,host.local,cpu
,,3,usage_iowait,cpu,cpu-total,host.local,host
,,4,usage_irq,cpu,cpu-total,host.local,_field
,,4,usage_irq,cpu,cpu-total,host.local,_measurement
,,4,usage_irq,cpu,cpu-total,host.local,_start
,,4,usage_irq,cpu,cpu-total,host.local,_stop
,,4,usage_irq,cpu,cpu-total,host.local,cpu
,,4,usage_irq,cpu,cpu-total,host.local,host
#datatype,string,long,string,string
#group,false,false,false,false
#default,1,,,
,result,table,host,_value
,,0,host.local,host.local
Can't render this file because it has a wrong number of fields in line 36.

View File

@ -1,5 +0,0 @@
from(bucket:"test")
|> range(start:2018-05-22T19:53:26Z)
|> group(by: ["_measurement"])
|> distinct(column: "_measurement")
|> group(none:true)

View File

@ -1,18 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,long,string,string,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,90,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,318324641792,free,disk,disk1s1,apfs,host.local,/
,,90,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,318324609024,free,disk,disk1s1,apfs,host.local,/
,,90,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,318324129792,free,disk,disk1s1,apfs,host.local,/
,,90,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,318324129792,free,disk,disk1s1,apfs,host.local,/
,,90,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,318326116352,free,disk,disk1s1,apfs,host.local,/
,,90,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,318325084160,free,disk,disk1s1,apfs,host.local,/
,,91,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,9223372036853184345,inodes_free,disk1,disk1s1,apfs,host.local,/
,,91,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,9223372036853184345,inodes_free,disk1,disk1s1,apfs,host.local,/
,,91,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,9223372036853184344,inodes_free,disk1,disk1s1,apfs,host.local,/
,,91,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,9223372036853184344,inodes_free,disk1,disk1s1,apfs,host.local,/
,,91,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,9223372036853184344,inodes_free,disk1,disk1s1,apfs,host.local,/
,,91,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,9223372036853184345,inodes_free,disk2,disk1s1,apfs,host.local,/
,,92,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,9223372036854775807,inodes_total,disk2,disk1s1,apfs,host.local,/
,,92,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,9223372036854775807,inodes_total,disk2,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 long string string string string string string
2 #group false false false false false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 90 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 318324641792 free disk disk1s1 apfs host.local /
6 90 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 318324609024 free disk disk1s1 apfs host.local /
7 90 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 318324129792 free disk disk1s1 apfs host.local /
8 90 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 318324129792 free disk disk1s1 apfs host.local /
9 90 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 318326116352 free disk disk1s1 apfs host.local /
10 90 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 318325084160 free disk disk1s1 apfs host.local /
11 91 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 9223372036853184345 inodes_free disk1 disk1s1 apfs host.local /
12 91 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 9223372036853184345 inodes_free disk1 disk1s1 apfs host.local /
13 91 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 9223372036853184344 inodes_free disk1 disk1s1 apfs host.local /
14 91 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 9223372036853184344 inodes_free disk1 disk1s1 apfs host.local /
15 91 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 9223372036853184344 inodes_free disk1 disk1s1 apfs host.local /
16 91 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 9223372036853184345 inodes_free disk2 disk1s1 apfs host.local /
17 92 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 9223372036854775807 inodes_total disk2 disk1s1 apfs host.local /
18 92 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 9223372036854775807 inodes_total disk2 disk1s1 apfs host.local /

View File

@ -1,8 +0,0 @@
#datatype,string,long,string,string
#group,false,false,false,false
#default,_result,,,
,result,table,_measurement,_value
,,0,disk,disk
,,0,disk1,disk1
,,0,disk2,disk2
1 #datatype string long string string
2 #group false false false false
3 #default _result
4 result table _measurement _value
5 0 disk disk
6 0 disk1 disk1
7 0 disk2 disk2

View File

@ -1,3 +0,0 @@
from(bucket: "db")
|> range(start: 2018-05-22T19:53:26Z, stop: 2018-05-22T19:54:16Z)
|> range(start: 2018-05-22T19:54:06Z)

View File

@ -1,13 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:36Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:46Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:56Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:54:16Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00.421470485Z,2018-05-22T19:54:26Z,0,usage_guest,cpu,cpu-total,host.local
,,0,2018-05-22T19:53:24.421470485Z,2018-05-22T19:55:00.421470485Z,2018-05-22T19:54:36Z,0,usage_guest,cpu,cpu-total,host.local
,,1,2018-05-22T19:53:24.421470485Z,2018-05-22T19:54:24.421470485Z,2018-05-22T19:53:26Z,0,usage_guest_nice,cpu,cpu-total,host.local
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest cpu cpu-total host.local
6 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:36Z 0 usage_guest cpu cpu-total host.local
7 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:46Z 0 usage_guest cpu cpu-total host.local
8 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:56Z 0 usage_guest cpu cpu-total host.local
9 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
10 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:54:16Z 0 usage_guest cpu cpu-total host.local
11 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00.421470485Z 2018-05-22T19:54:26Z 0 usage_guest cpu cpu-total host.local
12 0 2018-05-22T19:53:24.421470485Z 2018-05-22T19:55:00.421470485Z 2018-05-22T19:54:36Z 0 usage_guest cpu cpu-total host.local
13 1 2018-05-22T19:53:24.421470485Z 2018-05-22T19:54:24.421470485Z 2018-05-22T19:53:26Z 0 usage_guest_nice cpu cpu-total host.local

View File

@ -1,11 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
,,0,2018-05-22T19:54:06Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,0,usage_guest,cpu,cpu-total,host.local
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string
#group,false,false,false,false,false,false,true,true,true,true
#default,_result,1,,,,,usage_guest_nice,cpu,cpu-total,host.local
,result,table,_start,_stop,_time,_value,_field,_measurement,cpu,host
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
2 #group false false false false false false true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement cpu host
5 0 2018-05-22T19:54:06Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 0 usage_guest cpu cpu-total host.local
6 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string
7 #group false false false false false false true true true true
8 #default _result 1 usage_guest_nice cpu cpu-total host.local
9 result table _start _stop _time _value _field _measurement cpu host

View File

@ -1,3 +0,0 @@
from(bucket: "test")
|> range(start:2018-05-22T19:53:26Z)
|> filter(fn: (r) => r._value == null)

View File

@ -1 +0,0 @@
err: error calling function "filter": name "null" does not exist in scope
Can't render this file because it contains an unexpected character in line 1 and column 30.

View File

@ -1,6 +0,0 @@
from(bucket: "test")
|> range(start: 2018-05-22T19:50:26Z)
|> group(by: ["_measurement", "_start"])
|> percentile(percentile:0.75, method:"exact_selector")
|> map(fn: (r) => {_time: r._time, percentile: r._value})
|> yield(name:"0")

View File

@ -1,10 +0,0 @@
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string,string,string,string
#group,false,false,true,true,false,false,true,true,true,true,true,true
#default,_result,,,,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,device,fstype,host,path
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:26Z,34.98234271799806,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:36Z,34.98234941084654,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:46Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:53:56Z,34.982447293755506,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:06Z,34.98204153981662,used_percent,disk,disk1s1,apfs,host.local,/
,,96,2018-05-22T19:53:26Z,2018-05-22T19:54:16Z,2018-05-22T19:54:16Z,34.982252364543626,used_percent,disk,disk1s1,apfs,host.local,/
1 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 double string string string string string string
2 #group false false true true false false true true true true true true
3 #default _result
4 result table _start _stop _time _value _field _measurement device fstype host path
5 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:26Z 34.98234271799806 used_percent disk disk1s1 apfs host.local /
6 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:36Z 34.98234941084654 used_percent disk disk1s1 apfs host.local /
7 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:46Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
8 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:53:56Z 34.982447293755506 used_percent disk disk1s1 apfs host.local /
9 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:06Z 34.98204153981662 used_percent disk disk1s1 apfs host.local /
10 96 2018-05-22T19:53:26Z 2018-05-22T19:54:16Z 2018-05-22T19:54:16Z 34.982252364543626 used_percent disk disk1s1 apfs host.local /

View File

@ -1 +0,0 @@
select percentile("used_percent", 75) from telegraf..disk

View File

@ -1,6 +0,0 @@
#datatype,string,long,dateTime:RFC3339,string,dateTime:RFC3339,double
#group,false,false,true,true,false,false
#default,0,,,,,
,result,table,_start,_measurement,_time,percentile
,,0,2018-05-22T19:53:26Z,disk,2018-05-22T19:53:46Z,34.982447293755506
1 #datatype string long dateTime:RFC3339 string dateTime:RFC3339 double
2 #group false false true true false false
3 #default 0
4 result table _start _measurement _time percentile
5 0 2018-05-22T19:53:26Z disk 2018-05-22T19:53:46Z 34.982447293755506

View File

@ -1,4 +0,0 @@
from(bucket:"testdb")
|> range(start: 2018-05-22T19:53:26Z)
|> pivot(rowKey: ["_time"], colKey: ["_measurement", "_field"], valueCol: "_value")
|> yield(name:"0")

Some files were not shown because too many files have changed in this diff Show More