[influxdb] Re: CPU usage Query !

2016-12-21 Thread dilippanwar
Can you share how you are creating the DB. Also are you able to execute the mean function if required? On Thursday, December 1, 2016 at 6:55:03 PM UTC+5:30, kmg wrote: > > I'm new to influxdb. I tried to calculate the CPU usage. > > Data inserted into influxdb with 5mins interval. > > my

[influxdb] Re: CPU usage Query !

2016-12-02 Thread kmg
I checked the docs and tried multiple queries. Final I stopped at this stage. select sum(value) from ucd_cpu where hostname='localhost' and oid=~ /^ssCpuRaw*/ and time > '2016-09-18T22:47:53.408149394Z' and time < '2016-09-18T22:52:53.531283581Z' group by time(5m) this query just sum all the