I would like to know if anyone of you has implemented WSO2 DAS in some scenario. Any tutorial (step by step) that you have, will be helpfull.
Thanks.
WSO2DAS specifically doesn't support monitoring. But There is a way that you can use WSO2DAS for monitoring logs and other application status.
You can create a DAS stream and analyze log data. After that using the dashboard creation tool available in WSO2DAS you will be able to create dashboard to show the analyzed data.
You can find an example from following non-official blog post.
http://supunsetunga.blogspot.com/2016/03/creating-log-dashboard-with-wso2-das.html
For real time analysis you can create external publisher to publish data in to a DAS stream and continue analysis from there. External publisher will be the data source for DAS as it was a log file in the example explained in the above mentioned blog post. Please refer to DAS documentation mentioned below.
https://docs.wso2.com/display/DAS301/Publishing+Data+to+DAS
Also WSO2DAS has Email Publisher which send an email on an event. You can use this to alert specific user about a exception or any other thing. Please refer following documentation for more details.
https://docs.wso2.com/display/DAS301/Email+Event+Publisher
Hope this will help you.
Related
In my case i'm using wso2 api manager and Data analytic server. I need to show the analyzed data on the api manager publisher or subscriber accounts which are analyzed by the DAS. I rifer reference source
In the DAS side I can see the results perfectly. But can't see the statistics from the API manager side.
Only I can see "Data Publishing Enabled, Generate some traffic" message.
Not getting any error too.
please guide me how can I resolve this.
[Edited]I got this exception after following the steps mentioned in the #Prabudda Sri Rahal 's answer.
So how can I resolve this issue.
Need to add API_Manager_Analytics.car file to DAS as a carbon application. Then it creates all the necessary streams, event receivers. But it doesn't create event publishers to publish these data to our custom database. For that need to create event publishers manually to write on the database tables by mapping correct stream attributes with the database column names.
Refered: enter link description here
Maybe you should add the API_Manager_Analytics.car as described in
this blog.
Is there a way to show entire Audit Log associated to one service in the Service Detail layout instead of having to go search activities & figuring out changes?
Thanks.
As i know, It is not supported yet. You need to search in log file using the service name and found out them. Actually for analysis logs and audit, WSO2 may recommend the BAM server where you want to publish server's audit and log data
I'm new to WSO2 products and I was trying to set up the API statistics by configuring APIM with BAM as said in this documentation for publishing the stats https://docs.wso2.com/display/AM170/Publishing+API+Runtime+Statistics#PublishingAPIRuntimeStatistics-point3.
However every time I try to configure the statistics, start BAM, and re-start APIM I always get an error on the APIM console "Error occured while getting API's".
What does this mean?
Does it mean I have to configure first APIM and BAM before I can make an API and check it's statistics?
I don't get it why following the manual results into something like an error. Is there something wrong with my configuration?
here are few ways to debug whats going wrong. How API-M and BAM integration works is that
API -> publish stats to BAM
BAM stores the stats in Cassandra
BAM uses Hive scripts to analyse the data and write the results to a RDBMS mentioned in master-datasources.xml
I would recommend you to check the number 2. by checking if stats are published to BAM. You can do this by login into the management console of BAM and going to the Analytic section and adding the following script
select * from APIRequestData;
Execute this script and see if any data is returned. If no data is returned then data is not correctly published from API-M to BAM. If data is available here then there is an issue in reading the data from RDBMS to API-M.
I recommend you check the master-datasources.xml file which you edited during configuration. There may be an issue there, if the API Manager cannot connect to its' own database. The datasources given in step 2 of the guide you used are in addition to the existing datasources. If this isn't it, then please provide a stack dump or more detailed error messages. Cheers.
Can someone please point me to the direction where there is a example on how to connect and retrieve data from Microsoft Dynamic online 2011 with only the web services, such as Discovery and Organization, and not using any of the SDK that Microsoft provided. It would also be nice if I dont need to add System.ServiceModel.
I looked at the Soap example it still used Microsoft.Crm.Sdk.Samples.
The reason i am avoiding any SDK or namespace is I am trying to build a SQL CLR that can connect to CRM online and retrieve the data i needed for the reports. The reports are based on my local database and CRM data.
Thank you for all the help
Most data can be fetched (and relationships are well represented) via the oData/REST web services. You don't need any particular SDKs or custom code, just anything that can read data in XML or JSON format from a URI.
[Your Organization Root URL]/XRMServices/2011/OrganizationData.svc is where you'll find the fun stuff. Documentation is on MSDN at http://msdn.microsoft.com/en-us/library/gg334767.aspx
I have question. I need to provide the report for my master work to compare BAM tools and one of them is WSO2 BAM.I am beginner in it. I have to provide dashboards in WSO2BAM which will take information from my own database, from Oracle. According to the theoretical introduction of WSO2BAM it has already defined dashboards and is it possible to configure it for my own database and how? and Is there some tutorials, some documentation or examples?
Check under user defined data in the BAM documentation. It should tell you how to do send custom events. After this is stored in the BAM database. You have to write a gadget and a data service or a back end component to pull out the data and display the data.