Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Follow the instructions below to add/edit an analytic script in WSO2 BAM:

Adding an analytic script

1. Log on to the BAM Management Console and select Analytics-> Add menu from the Main menu. That will open the Script Editor window.

2. Provide a script name and add the required HiveQL script in the editor pane as shown below.

Note

For information on writing HiveQL scripts, refer to https://cwiki.apache.org/confluence/display/Hive/LanguageManual.

3. You can click Run to execute the script and view results. The results appear in the panel below the script editor as shown in the screenshot below.

4. Click Save to save the script. Click No in the pop up dialog box if it is not required to schedule the script immediately. Else click Yes to schedule the script before saving. For more information on scheduling, refer to section Scheduling an Analytic Script.

5. The script will be redirected to Available Scripts page where saved script are listed.

Editing an analytic script

If you have already installed BAM, you can change analytics scripts using the management console as follows:

  1. Log in to the BAM management console and click List in the Analytics menu in the Main menu.
  2. Select the script you want to edit and click Copy as a New Script link associated with it. 

    You cannot use the management console to edit a script after it is deployed. The only way to do this through the UI is, by duplicating the old script and renaming it

  3. Do required modifications to the existing script and save it in a new name.


  • No labels