Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Ensure that you have the following in your environment,

  • JDK 1.6.* or 1.7

    Note

    NOTE: If you install JDK in Program Files in the Windows environment, avoid the space by using PROGRA~1 when specifying environment variables for JAVA_HOME and PATH. Else, the server throws an exception.

     

  • Cygwin (http://www.cygwin.com) : Required only if you use Windows. WSO2 BAM analytics framework depends on Apache Hadoop, which requires Cygwin in order to run on Windows. Install at least the basic net (OpenSSH,tcp_wrapper packages) and security related Cygwin packages. After Cygwin installation, update the PATH variable with C:\/cygwin\/bin and restart BAM.

Configuring WSO2 API Manager

...

  1. Log in to BAM management console and select Add in Analytics menu.
  2. Go to the Script Editor in the window that opens.
  3. Execute the  following script.

    Code Block
    drop table APIRequestData;
    drop table APIRequestSummaryData;
    drop table APIVersionUsageSummaryData;
    drop table APIVersionUsageSummaryData;
    drop table APIResponseData;
    drop table APIResponseSummaryData;
    drop table APIRequestData;
    drop table APIRequestSummaryData;
    drop table APIVersionUsageSummaryData;
    drop table APIResponseData;
    drop table APIResponseSummaryData;
    drop table APIResourcePathUsageSummaryData;
    drop table APIFaultSummaryData;
                

After configuring WSO2 BAM to render and produce statistics of APIs hosted and managed in the API Manager, you can view them through various statistical dashboards in the API Publisher, depending on your permission levels. For information, refer to section Viewing API Statistics .