Generating Smart Engine Reports with the API

Use the API to generate reports for app instances that have Smart Engine enabled. After the report is successfully generated, download it and display it in your browser.

Note: Reports are auto-generated when trigger conditions are met, such as increased memory usage, high CPU usage, or more live threads for a specified amount of time. Therefore, you may see more reports than expected when you get the list of available Smart Engine reports.

Considerations for generating reports:

Smart Engine must be enabled for the app instance you want included in the report. See Enabling or Disabling Smart Engine with the API.

To generate a Smart Engine report you need the following: 

  1. Use the POST ​/v1​/subscriptions​/{subscriptionLocator}​/apps​/{appId}​/instances​/{instanceId}​/bw​/smartengine​/reports​/generate method to generate a Smart Engine report for an app instance.
  2. Set the optional engineData parameter to true to generate an APPNODE_DATA file in the report zip file.

The engineData parameter collects engine data for the following commands: 

Related Topics

Monitoring Apps with the TIBCO Cloud™ Integration API

Reporting with the TIBCO Cloud™ Integration API Using TIBCO BusinessWorks Smart Engine

Smart Engine Reports

Viewing a List of Smart Engine Reports with the API

Downloading a Smart Engine Report with the API

Deleting a Smart Engine Report with the API