Versions Compared

Key

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

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

Table of Contents
maxLevel3

Adding an analytic script

...

There are two ways to edit an analytic script as follows:.

Editing scripts installed with toolboxes

Follow the instructions below  to to edit a script that came with a BAM toolbox:toolbox.

Editing manually

Follow the steps below to edit the toolbox scripts manually.

  1. Go to <BAM_HOME>/repository/deployment/server/bam-toolbox folder and select the .tbox file you want to edit.
  2. Open the .tbox file using any file archiving utility (e.g., 7z).
  3. Edit the script file in the toolbox according to your requirements. Scripts are saved inside Analytics folder in the .tbox file.
  4. Once the edits are done, archive the main folder again and simply change its extension to .tbox.
  5. Save the edited .tbox file in the same bam-toolbox folder mentioned above and restart the server.

Editing using the management console

Editing scripts added manually

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

...