Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

...

 

Info

Set the values of the -D path and -Dcount Java system properties in the above command, to point them to the location where you stored the Wikipedia article XML dump file which you downloaded in Analysing Wikepedia Data, and to the number of articles you need to publishe as events out of the total dataset respectively. (E.g. -Dcount=-1 to publish all articles.) This sends events to the event stream which is deployed through the  above C-App .

Viewing the output

You may use the Data Explorer or the Analytics Dashboard of the WSO2 DAS Management Console to browse published sample events.

Anchor
Using the Data Explorer
Using the Data Explorer
Using the Data Explorer 

Follow the steps below to use the Data Explorer to view the output. 

Using the Data Explorer 

Follow the steps below to use the Data Explorer to view the output. 

  1. Log in to the DAS management console if you are not already logged in.
  2. Click Main, and then click Data Explorer in the Interactive Analytics menu.
  3. Select ORG_WSO2_DAS_SAMPLE_WIKIPEDIA_DATA for the Table Name as shown below.

    select the event streamImage Added

     

    Tip

    You can also select the other streams which are deployed by the sample C-App as shown below.

    Image Added

  4. Click  Search . You view the published data as shown below.
    Image Added

Using the Analytics Dashboard

Follow the steps below to use the Analytics Dashboard to view the output. 

...

  1. Log in to the DAS management console if you are not already logged in.
  2. Click Main, and then click Analytics Dashboard in the Dashboard menu.
  3. Log in to the Analytics Dashboard using admin/admin credentials.
  4. Click the following CREATE DASHBOARD button in the top navigational bar to create a new dashboard.

    Image Added

  5.  

...

  1. Enter a Title and a Description for the new dashboard as shown below, and click Next as shown below.
    create a new DasboardImage Added
  2. Select a layout to place its components as shown below.

    select a layoutImage Added

  3. Click Select. You view a layout editor with the chosen layout blocks marked using dashed lines.
  4. Click the following CREATE GADGET button in the top menu bar. 
    Image Added
  5. Select the input data source as shown below, and click Next.

    select the data sourceImage Added
  6. Select Chart Type and enter the preferred x, y axis and additional parameters based on the selected chart type as shown below, and click Preview.
    create a new gadgetImage Added
  7. Click Add to Gadget Store.
  8. Click the corresponding Design button of the Wikepedia_Samples_Dashboard to add the Contributor Summary gadget as shown below.
    designing the DashboardImage Added
  9.  

    Click the following gadget browser icon in the side menu bar.

     

    Image Added

     

    You view the new gadget listed in the gadget browser as shown below.

    new gadget in the list of all available gadgetsImage Added
  10. Click on  the new gadget, drag it out, and place it in the preferred grid of the selected layout in the dashboard editor as shown below.

    add gadget to layoutImage Added

  11. Click the following PREVIEW button in the top menu bar. 

    previewing the DashboardImage Added
    You view the preview of the Wikepedia_Samples_Dashboard with the Contributor Summary gadget added to it as shown below.
    Image Added