[influxdb] InfluxQL TimeRange function and fixed dates question.

2016-09-21 Thread codeprojtwo
Hi everyone, I have a question about influxql.TimeRange function. I noticed that with combination with influxql.Reduce function and influxql.NowValuer struct I can get min and max timestamps from queries like SELECT SUM("sum") / 60 AS "sum" FROM something WHERE customer = 'customer' AND

[influxdb] Kapacitor and external InfluxDB.

2016-10-11 Thread codeprojtwo
I'm having a hard time setting up a record. Currently kapacitor.conf contains: [[influxdb]] enabled = true name = "cp" default = true urls = ["http://influx-cp.internal:8086;] username = "root" password = "root" ssl-ca = "" ssl-cert = "" ssl-key = "" insecure-skip-verify =

[influxdb] Re: Kapacitor and external InfluxDB.

2016-10-13 Thread codeprojtwo
вторник, 11 октября 2016 г., 20:29:26 UTC+3 пользователь codep...@gmail.com написал: > I'm having a hard time setting up a record. Currently kapacitor.conf contains: > > [[influxdb]] > enabled = true > name = "cp" > default = true > urls = ["http://influx-cp.internal:8086;] > username

[influxdb] Re: Kapacitor and external InfluxDB.

2016-10-12 Thread codeprojtwo
Hmm - now it no longer freezes, but doesn't record anything either. Current script is: stream // Select just the cpu measurement from our example database. |from() .database('cp') .measurement('user_cp') |alert() // Whenever we get an alert write it to a

[influxdb] Re: Kapacitor and external InfluxDB.

2016-10-12 Thread codeprojtwo
вторник, 11 октября 2016 г., 21:07:28 UTC+3 пользователь nath...@influxdb.com написал: > Kapacitor isn't receiving any data from InfluxDB. What is the output of > > > show subscriptions > > > and  > > > kapacitor stats ingress > > > > > On Tuesday, October 11, 2016 at 11:29:26 AM UTC-6,