Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

nadundesilva/wso2-analytics-notebook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notebook

This project contains a web app designed to be run in the WSO2 Data Analytics Server. Notebook provides a unified analytics tool that is capable of performing the following functions.

  • Preprocessing Data
  • Batch Analytics (Using spark queries)
  • Interactive Analytics (Using Lucene queries, Primary keys, Timestamp ranges)
  • Data Exploring (Scatter Plots, Trellis Charts, Parallel Sets, Cluster Diagrams)

How to run

  1. Download WSO2 Data Analytics Server (Download binaries or build from source).
  2. Download Notebook repository as a zip file and extract or clone the repository.
  3. Go to the root directory of the Notebook and run mvn clean install to build the project
  4. Copy <NOTEBOOK_HOME>/components/org.wso2.carbon.notebook.commons/target/notebook-commons-<VERSION>.jar & <NOTEBOOK_HOME>/components/org.wso2.carbon.notebook.core/target/notebook-core-<VERSION>.jar to <WSO2_DAS_HOME>/repository/components/lib/ directory.
  5. Copy <NOTEBOOK_HOME>/components/org.wso2.carbon.notebook.api/target/notebook.war to <NOTEBOOK_HOME>/repository/deployment/server/webapps/ directory.
  6. Run the WSO2 Data Analytics Server
  7. Go to https://<SERVER_URI>:<PORT>/notebook/index.html (Default port : 9443)
  8. Use your credentials for the WSO2 Data Analytics Server to login (Use "admin" as both username and password if you are using the WSO2 DAS for the first time)

How to use

  1. Go to https://<SERVER_URI>:<PORT>/notebook/index.html. You will be redirected to the sign in page. Log in using your credentials for the WSO2 Data Analytics Server.

  2. After signing in, select an existing note from the list of notes

    alt text

    Or create a new note

    alt text

  3. After that you can start adding paragraphs and start analysing from the page that opens up.

Paragraphs

There are five types of paragraphs that are currently included in the notebook. You can add paragraphs to the note to perform analysis and group together relevant paragraphs in separate notes.

In each one of them there is a paragraph type combo box. After selecting the paragraph type the source view for the paragraph will be loaded according to the paragraph type specified. After entering the relevant details you can click <Run> to run the paragraph. The notebook will show the results in the output view which will be loaded after clicking run.

  1. Preprocessor Paragraph

    alt text

  2. Batch Analytics Paragraph

    alt text

  3. Interactive Analytics Paragraph

    alt text

  4. Data Explore Paragraph

    alt text

  5. Markdown Paragraph

    alt text

You can get a directed graph showing how the paragraphs and tables are connected by clicking the <Show Overview> button. You can drag the nodes around in the graph to get the clear view of the graph.

alt text

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.0%
  • CSS 11.6%
  • Java 3.7%
  • HTML 1.7%