Hi, On Thu, Jun 30, 2016 at 12:15 PM, Gihan Anuruddha <[email protected]> wrote:
> We don't have a direct method to do this. But we can achieve this if you > have access to AnalyticsDataService instance. First, you need to call the > *search* method which will return list of SearchResultEntry list. > Each SearchResultEntry will contain the id that satisfied the given search > query, Then you can use the *delete* method by providing a list of ids. > Yes, but instead of AnalyticsDataService(org.wso2.carbon.analytics.dataservice.core.AnalyticsDataService) better to use "org.wso2.carbon.analytics.api.AnalyticsDataAPI" instead, it also implements the same interface but works in a higher layer than that. > > On Thu, Jun 30, 2016 at 12:06 PM, Chathura Ekanayake <[email protected]> > wrote: > >> Yes, requirement is to delete events using a filtering criteria (e.g. >> delete all events with processId=p1). One usecase is for testing. >> >> On Thu, Jun 30, 2016 at 11:30 AM, Inosh Goonewardena <[email protected]> >> wrote: >> >>> Hi, >>> >>> On Thu, Jun 30, 2016 at 11:22 AM, Nirmal Fernando <[email protected]> >>> wrote: >>> >>>> You can schedule data purging >>>> https://docs.wso2.com/display/DAS301/Purging+Data >>>> >>> >>> Yes, we have per table and global data purging support in DAS. However, >>> you cannot delete events by using filtering criteria OOTB. Is that your >>> requirement? >>> >>> >>>> >>>> On Thu, Jun 30, 2016 at 11:18 AM, Chathura Ekanayake <[email protected] >>>> > wrote: >>>> >>>>> Can we delete events from DAS event store? >>>>> >>>>> - Chathura >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Thanks & regards, >>>> Nirmal >>>> >>>> Team Lead - WSO2 Machine Learner >>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc. >>>> Mobile: +94715779733 >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Thanks & Regards, >>> >>> Inosh Goonewardena >>> Associate Technical Lead- WSO2 Inc. >>> Mobile: +94779966317 >>> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > W.G. Gihan Anuruddha > Senior Software Engineer | WSO2, Inc. > M: +94772272595 > -- Thanks & Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
