Re: How Can I count events In The Event Server?

2017-04-11 Thread Pat Ferrel
As you may know from setting up other databases the storage in indexes for a DB 
define it’s performance so the EventServer is tuned for use with Templates. 
There are a few queries (thanks Marius) but they are not extensive. I suggest 
you keep them in your own DB along side the EventServer if you want to make 
many specialized queries. You can also access the DB through the Hbase shell.


On Apr 10, 2017, at 10:50 PM, Vaghawan Ojha  wrote:

Hi Marius, 

Thanks, I was wondering if there was already some method to just to count the 
events, but that's Ok. I would be able to get the events of particular entityId 
and count them inside my app on my own. 

Thanks


On Tue, Apr 11, 2017 at 11:29 AM, Marius Rabenarivo > wrote:
Hello,

You can use the Event API : 
http://predictionio.incubator.apache.org/datacollection/eventapi/ 


2017-04-11 7:34 GMT+04:00 Vaghawan Ojha >:
I suppose there should be a way to count the events in the event server, which 
I might be unaware of. 

I'm trying to count all the events, and number of users in those events, also 
how many events a particular user have. I suppose there should be something 
that I can do with eventserver query. 

I found a way to count all the events in this doc 
http://predictionio.incubator.apache.org/customize/troubleshooting/ 
. Have 
anyone tried to count the events of a particular user? 

If anyone has already done, could you please share it? 

Thanks





Re: How Can I count events In The Event Server?

2017-04-10 Thread Vaghawan Ojha
Hi Marius,

Thanks, I was wondering if there was already some method to just to count
the events, but that's Ok. I would be able to get the events of particular
entityId and count them inside my app on my own.

Thanks


On Tue, Apr 11, 2017 at 11:29 AM, Marius Rabenarivo <
mariusrabenar...@gmail.com> wrote:

> Hello,
>
> You can use the Event API : http://predictionio.incubator.
> apache.org/datacollection/eventapi/
>
> 2017-04-11 7:34 GMT+04:00 Vaghawan Ojha :
>
>> I suppose there should be a way to count the events in the event server,
>> which I might be unaware of.
>>
>> I'm trying to count all the events, and number of users in those events,
>> also how many events a particular user have. I suppose there should be
>> something that I can do with eventserver query.
>>
>> I found a way to count all the events in this doc
>> http://predictionio.incubator.apache.org/customize/troubleshooting/.
>> Have anyone tried to count the events of a particular user?
>>
>> If anyone has already done, could you please share it?
>>
>> Thanks
>>
>
>