Re: [Dev] Siddhi Query : group by results

2016-06-22 Thread Ashen Weerathunga
Hi Aneela, As Charini mentioned above this is the expected output as for your query. There will be an output for each and every incoming event since you haven't included any window for your intermediateStream. But you can get your expected output by adding a batch window[1] to your query. As an

Re: [Dev] Siddhi Query : group by results

2016-06-22 Thread Charini Nanayakkara
Hi Aneela, The siddhi query you have specified processes each and every incoming event. Since processing is done in real time, when the first event for ts= 2016-05-08 09:00 arrives it gives count = 1 (due to no events with ts = 2016-05-08 09:00 having arrived earlier). When second event with ts =

[Dev] Siddhi Query : group by results

2016-06-22 Thread Aneela Safdar
Hi all, I am having a trouble in digesting results of my group by query. My source stream named intermediateStream has data ts uid id_resp_h 2016-05-08 08:59 CLuCgz3HHzG7LpLwH9172.30.26.119 2016-05-08 09:00 C3WnnK3TgUf2cSzxVa172.30.26.127