Hi Fazlan, You can use following .
[1] https://github.com/wso2/carbon-analytics/blob/master/components/org.wso2.carbon.stream.processor.statistics/src/main/java/org/wso2/carbon/stream/processor/statistics/internal/service/NodeConfigServiceComponent.java Regards, Damith On Tue, Jul 24, 2018 at 6:44 PM, Sajith Perera <saji...@wso2.com> wrote: > Also, there are CLI logs where it’s print the status of the node. Please > refer the doc[2] > > [2017-10-23 08:56:57,380] INFO {org.wso2.carbon.stream. > processor.core.internal.ServiceComponent} - WSO2 Stream Processor > Starting in Two Node Minimum HA Deployment > [2017-10-23 08:56:57,392] INFO > {org.wso2.carbon.stream.processor.core.ha.HAManager} > - HA Deployment: Starting up as Active Node > > > [2] - > https://docs.wso2.com/plugins/servlet/mobile?contentId= > 68701902#content/view/68701902 > > On Tue, Jul 24, 2018 at 11:58 PM Damith Wickramasinghe <dami...@wso2.com> > wrote: > >> Hi fazlan, >> >> we have apis exposed where you can get the information. >> >> eg:- curl -k -X GET http://localhost:9090/statistics -H "accept: >> application/json" -u admin:admin -k -v >> >> will provide you a json with all the information. see[1] >> >> [1] https://docs.wso2.com/display/SP420/Stream+Processor+REST+API+Guide >> >> Is this what you are asking for ? >> >> Regards, >> Damoth >> >> On Tue, Jul 24, 2018 at 6:07 PM, Fazlan Nazeem <fazl...@wso2.com> wrote: >> >>> Hi, >>> >>> How is $subject done in SP? Can you point me to a source location? >>> >>> -- >>> Thanks & Regards, >>> >>> *Fazlan Nazeem* >>> Senior Software Engineer >>> WSO2 Inc >>> Mobile : +94772338839 >>> fazl...@wso2.com >>> >> >> >> >> -- >> Senior Software Engineer >> WSO2 Inc.; http://wso2.com >> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> >> lean.enterprise.middleware >> >> mobile: *+94728671315* >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> > -- > <http://wso2.com/signature> > Sajith Dimal > Software Engineer > Email : saji...@wso2.com > Mobile : +94783101496 > WSO2 Inc. | http://wso2.com > lean.enterprise.middleware > -- Senior Software Engineer WSO2 Inc.; http://wso2.com <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> lean.enterprise.middleware mobile: *+94728671315*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev