The latest version for DAS is WSO2 Data Analytics Server 3.1.0. View documentation for the latest release.
WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
Skip to end of metadata
Go to start of metadata


This sample demonstrates how to view and analyze real time statistics on the Analytics Dashboard.


Set up the prerequisites required for all samples.

Building the sample

This sample configuration does the following.

  • Creates an event stream named realTimeStreamData.
  • Creates a UI publisher named realTimeDataUiPublisher.
  • Creates a dashboard named Real Time Analytics Dashboard.
  • Creates the following three gadgets.

Executing the sample

Follow the steps below to execute this sample.

  1. Execute one of the following commands to start the WSO2 DAS server.
    • On Windows:  <DAS_HOME>\bin\wso2server.bat --run
    • On Linux/Solaris/Mac OS:  sh <DAS_HOME>/bin/

  2. Copy the contents in the <DAS_HOME>/samples/cep/artifacts/1501/carbonapps directory to the <DAS_HOME>/repository/deployment/server/carbonapps directory.

    If the carbonapps directory does not already exist in the <DAS_HOME>/repository/deployment/server/carbonapps directory, create it and copy the required content to it.

  3. Copy the contents in the <DAS_HOME>/samples/cep/artifacts/1501/eventsimulatorfiles directory to the <DAS_HOME>/repository/deployment/server/eventsimulatorfiles directory.
  4. Log into the WSO2 DAS Management Console via the following URL.
  5. In the Tools tab click Event Simulator to open the Event Stream Simulator page.
  6. Select realTimeStreamData:1.0.0 for the Event Stream Name field and click Play for the realTimeDashboardData.csv file.

  7. In the Main tab, click Analytics Dashboard, and log into the Analytics Dashboard using your credentials. The Real Time Analytics dashboard is displayed as follows.
  8. Click View. Real time statistics generated are displayed as follows.


  • No labels