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

Introduction

This sample demonstrates an analysis of data collected on the realtime service statistics of a set of requests being sent to the WSO2 API Manager.

Prerequisites

Set up the general prerequisites required for WSO2 DAS, before you start.

Building the sample

Follow the steps below to build the sample.

Uploading the Carbon Application

Follow the steps below to upload the Carbon Application (cApp) file of this sample. For more information, see  Carbon Application Deployment for DAS .

  1. Log in to the DAS management console using the following URL: https://<DAS_HOST>:<DAS_PORT>/carbon/
  2. Click  Main , and then click  Add  in the Carbon Applications menu.
  3. Click  Choose File, and upload the <DAS_HOME>/capps/APIM_Realtime_Analytics.car file as shown below.
  4.   Click  Main , then click Carbon Applications, and then click List view to see the uploaded Carbon application as shown below.  
    list of all available C-Apps

Executing the sample

Follow the steps below to execute the sample.

Running the data publisher

Navigate to <DAS_HOME>/samples/apim-stats/ directory in a new CLI tab, and execute the following command to run the data publisher: ant

This sends randomly generated events to the event stream which is deployed through the above CApp.

Viewing the output

You view the output in the logs of the CLI in which you ran WSO2 DAS as shown below.

view published output logs

  • No labels