Analytics

Running summarizations and data analytics on captured data is carried out using the BAM analytics framework. The analytics framework is powered by Apache Hadoop for scaling out data processing operations on large number of data processing nodes in order to handle large data volumes. For writing analytic scripts a SQL (HiveQL) like language is provided using integrated Apache Hive.


  1. Writing an analytic script


  2. Follow the instructions below to add an analytic script.


    1. Log on to the Business Activity Monitor Management Console.



    2. In the "Main" menu, under "Manage" category click "Add" under "Analytics" menu item to get to the "Script Editor" window.



    3. Now provide a script name and add the required HiveQL script in the editor pane as shown below.



    4. Click "Run" to execute the script and view results if required. The results will get shown in the panel below the script editor as follows.



    5. 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. See the section on scheduling scripts for more information.


    6. Now it will be redirected to "Available Scripts" page where saved script will be shown as below.




  3. Scheduling a script

  4. There are several ways to reach script scheduling UI.

    There are couple of ways to specify the scheduling interval for the script to run.

    1. Cron expression. This is more flexible since Cron allows for fine grained interval and scheduling specifications. For more information see Quartz documentation.



    2. Simple scheduling. This can be used to specify some common scheduling schemes.