Thanks for looking into this Raj! Pranavan, Let's try to get this to the next week demo if possible.
Thanks. On Tue, Jul 7, 2015 at 12:37 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> wrote: > Hi Pranavan, > > You have to use Snapshot Output Rate Limiting feature of WSO2 CEP. > > Lets take an example query to output a snapshot every one minute giving > the contents of the 10 minute window at the time of taking the snapshot. > > > > > *from LoginEvents#window.time(10 min)select ipoutput snapshot every 1 > mininsert into uniqueIps for all-events* > > This is what we want to do. We need to output last 10 minute events in > every one minute. Please refer [1] for more details on this. > > [1] https://docs.wso2.com/display/CEP310/Output+Rate+Limiting > > Thanks, > Raj. > > On Mon, Jul 6, 2015 at 10:36 AM, Rajkumar Rajaratnam <rajkum...@wso2.com> > wrote: > >> >> >> On Sun, Jul 5, 2015 at 9:19 PM, Pranavan Theivendiram < >> pranavan...@cse.mrt.ac.lk> wrote: >> >>> Hi Raj, >>> >>> I have created PR.[1] <https://github.com/apache/stratos/pull/382> >>> >>> I noted the point that I have to make the window length and sliding time >>> as a configurable one. >>> >> >> Also make *EMA ALPHA* to be configurable. >> >> Thanks, >> Raj. >> >> >>> >>> [1] - https://github.com/apache/stratos/pull/382 >>> >>> Thanks >>> >>> *T. Pranavan* >>> *BSc Eng Undergraduate| Department of Computer Science & Engineering >>> ,University of Moratuwa* >>> *Mobile| *0775136836 >>> >>> On 5 July 2015 at 21:05, Rajkumar Rajaratnam <rajkum...@wso2.com> wrote: >>> >>>> Hi Pranavan, >>>> >>>> We will use this thread to give you feedback on your implementation. >>>> >>>> As discussed, can you please open a PR for the work you have done so >>>> far. Name your PR something like "GSoC - Curve Fitting". Then we can easily >>>> monitor your progress and give you feedback via the PR itself, rather than >>>> going through your personal repository. Also update your branch with >>>> upstream on daily basis to make sure there won't be any conflicts. >>>> >>>> Also please be sure to make window length (10min by default) and >>>> sliding time (1min) configurable. >>>> >>>> Thanks, >>>> Raj. >>>> >>>> -- >>>> Rajkumar Rajaratnam >>>> Committer & PMC Member, Apache Stratos >>>> Software Engineer, WSO2 >>>> >>>> Mobile : +94777568639 >>>> Blog : rajkumarr.com >>>> >>> >>> >> >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146