Re: kapacitor [[influxdb]] highly available config question

2016-11-04 Thread Sean Beckett
You mention two relay servers, a load balancer, two InfluxDB instances, and a Kapacitor instance. I can't make sense of your architecture. Can you please describe it again? On Fri, Nov 4, 2016 at 11:46 AM, wrote: > sorry scratch that..as there wont be duplicate traffic

[influxdb] Re: Exponential Moving Average

2016-11-04 Thread nathaniel
Have you seen the Join node https://docs.influxdata.com/kapacitor/v1.0/nodes/join_node/ It should do exactly what you want. On Thursday, November 3, 2016 at 6:54:41 PM UTC-6, ni...@gratafy.com wrote: > > I'm wondering if it would actually be possible to calculate exponential > moving average

[influxdb] Re: Exponential Moving Average

2016-11-04 Thread nick
As far as I understand it the join node will join based on timestamps. Since in this case, I'm looking to join based on the value of a tag, I'm not sure the join node has what I'm looking for. "As each data point is received from a parent node it is paired with the next data points from the

Re: kapacitor [[influxdb]] highly available config question

2016-11-04 Thread krajshiva
So i was implemnting the setup you have mentioned. But if i have two local influxdb relays on two influxdb servers both will send data to my kapacitor instance. How i will kapacitor handle duplicate data? Wont it mess up my alert tasks as they will be access duplicate timeseries data points?

[influxdb] Kapacitor: send alert name to influxdb

2016-11-04 Thread Julien Ammous
Hi, is there a way to include the alert name (the tick script name) in the influxdbOut output ? The name is present when I send it via http but I can't seem to find how, if even posibble, to include this information into influxdb. -- Remember to include the version number! --- You received

[influxdb] Re: Kapacitor: send alert name to influxdb

2016-11-04 Thread Julien Ammous
never mind, I just found it by looking at the sources: {{ .TaskName }} On Friday, 4 November 2016 11:20:47 UTC+1, Julien Ammous wrote: > > Hi, > is there a way to include the alert name (the tick script name) in the > influxdbOut output ? > The name is present when I send it via http but I can't

Re: [influxdb] Issue: duplicate points with same measurements tags and timestamps

2016-11-04 Thread cslfnc01
Of course, these are the files with raw data: https://www.dropbox.com/s/6r5ebcyl8xv7y1x/data_for_influxdb.txt?dl=0 https://www.dropbox.com/s/h1num78wn9y54eu/data_for_influxdb_1.txt?dl=0 Il giorno giovedì 3 novembre 2016 18:27:03 UTC+1, Sean Beckett ha scritto: > Without the raw data we can't

Re: [influxdb] continuous query for fanout query

2016-11-04 Thread Sai Birada
Also, In continuous query it seems we need to give an aggregate function and group by time(), but i want to just transfer the data as is, without modifying much and also This data relocation of data should be done for the data already ingested (historic data), I am not sure how this can be done

Re: [influxdb] continuous query for fanout query

2016-11-04 Thread Sean Beckett
You can use a continuous query: http://docs.influxdata.com/influxdb/v1.0/query_language/continuous_queries/ You'll need one per customer, since each has to go to a specific database. On Thu, Nov 3, 2016 at 9:36 PM, Sai Birada wrote: > Hi Sean Beckett , > Using customerid

Re: [influxdb] Tokenizing a string in kapacitor

2016-11-04 Thread Sean Beckett
You can write a UDF to do whatever you like, but neither Kapacitor nor InfluxDB have built-in string functions of any kind. On Thu, Nov 3, 2016 at 11:43 PM, Sai Birada wrote: > I had a tag value stored similar

[influxdb] Re: how to pass authentication to kapacitor cli after turning on auth feature

2016-11-04 Thread krajshiva
On Thursday, November 3, 2016 at 2:06:18 PM UTC-4, kraj...@gmail.com wrote: > I have turned on authentication feature in kapacitor cli. > [http] > # HTTP API Server for Kapacitor > # This server is always on, > # it servers both as a write endpoint > # and as the API endpoint for all

Re: [influxdb] continuous query for fanout query

2016-11-04 Thread Sean Beckett
Your syntax is incorrect. Strings are single-quoted. WHERE cpu = "cpu" means where the cpu identifier is equal to the cpu identifier. On Fri, Nov 4, 2016 at 2:41 AM, Sai Birada wrote: > Also, In continuous query it seems we need to give an aggregate function > and group by

Re: [influxdb] Influxdb 1.0 clustering technology

2016-11-04 Thread Sean Beckett
Still Raft: http://docs.influxdata.com/enterprise/v1.0/concepts/clustering/ On Fri, Nov 4, 2016 at 6:47 AM, wrote: > Hi, so upon doing some research, my understanding is that at some point > (prior to v1.0) Influxdb was using RAFT for clustering. With version 1.0 > does

Re: [influxdb] Re: how to pass authentication to kapacitor cli after turning on auth feature

2016-11-04 Thread Sean Beckett
The authentication credentials are placed on the URL like so: http://user:password@localhost:9092. For the CLI set the KAPACITOR_URL env var. That being said open source Kapacitor doesn't have a fully implemented auth backend implementation, meaning any set of credentials will be accepted. On

Re: kapacitor [[influxdb]] highly available config question

2016-11-04 Thread krajshiva
On Thursday, November 3, 2016 at 2:36:04 PM UTC-4, kraj...@gmail.com wrote: > I am trying to setup high availability setup of influxdb using influxdb > relays.So telegraf clients send data to both host1 and host2 via influxdb > relay. > > telegraf --> Loadbalancer-->influxdbrelay -->

[influxdb] Gateway way Timeout

2016-11-04 Thread surendra matta
Hi I am trying to connect the influxdb from my windows server 2008 to windows server 2012 , iam getting timeout I have my influxdb in windows server 2012 . Please let me know if i need make any config changes and find the below snapshot FYI..http://server:8083 adminpage is not loading

Re: [influxdb] Re: how to pass authentication to kapacitor cli after turning on auth feature

2016-11-04 Thread krajshiva
when you say not fully implemented what are the things that are implemented. Is any post to kapacitor auth enabled? Like posting/updating tasks/templates -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData"

Re: kapacitor [[influxdb]] highly available config question

2016-11-04 Thread krajshiva
Can you paste me kapacitor config which allows it to query an influxdb instance but doesnt subscribe to it? This will be very helpful. -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe

Re: [influxdb] Re: how to pass authentication to kapacitor cli after turning on auth feature

2016-11-04 Thread Sean Beckett
Auth in Kapacitor is not complete. Enabling it does nothing useful except force the use of credentials. The credentials can be anything and will work regardless. On Fri, Nov 4, 2016 at 9:27 AM, wrote: > when you say not fully implemented what are the things that are >

Re: kapacitor [[influxdb]] highly available config question

2016-11-04 Thread nathaniel
Subscriptions are unrelated to querying. The logs lines you see are because the old subscriptions still exist. Use the DROP SUBSCRIPTION ... query to remove them. On Friday, November 4, 2016 at 9:20:02 AM UTC-6, kraj...@gmail.com wrote: > > On Thursday, November 3, 2016 at 2:36:04 PM UTC-4,

Re: [influxdb] Tokenizing a string in kapacitor

2016-11-04 Thread nathaniel
As of the upcoming release of Kapacitor 1.1 string manipulation functions have been added. The function you are probably interested in is the `regexReplace` function. It works like this: |eval(lambda: regexReplace(/^.*-(\w\+)_.*$/, "raw_tag", '$1')) .as('value2') See

Re: [influxdb] Gateway way Timeout

2016-11-04 Thread Sean Beckett
Windows support for InfluxDB is still experimental. Can you clarify what you mean by "connect the influxdb from my windows server 2008 to windows server 2012" What version of InfluxDB? On Fri, Nov 4, 2016 at 9:15 AM, surendra matta wrote: > Hi > > I am trying to

Re: kapacitor [[influxdb]] highly available config question

2016-11-04 Thread Sean Beckett
https://github.com/influxdata/kapacitor/blob/master/etc/kapacitor/kapacitor.conf#L104 On Fri, Nov 4, 2016 at 9:29 AM, wrote: > Can you paste me kapacitor config which allows it to query an influxdb > instance

Re: [influxdb] Gateway way Timeout

2016-11-04 Thread surendra matta
When i am trying to open the admin page from 2008 server "http://10.140.32.12:8083;, i am unable to load the page but when i open the page from windows 7 , i am able to access the page I am using this influxdb for my jmeter test execution when i run my jmeter test in windows 7 , i am able to

Re: [influxdb] Gateway way Timeout

2016-11-04 Thread surendra matta
Issue resolved ... In my script i parametrized the ip address , some how is not passing that value ..so i removed that parameterisation and passing the value directly .Now its working perfectly thanks for your help regards, venkat On Friday, November 4, 2016 at 1:06:21 PM UTC-4, surendra

[influxdb] Re: how to pass authentication to kapacitor cli after turning on auth feature

2016-11-04 Thread krajshiva
Thanks and i just confirmed it in test environment. Is there a plan to implemented in opensource kapacitor version down the line just like influxdb has it implemented? -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups