Reports for Application Builder Applications

Reports in the Application Builder administration tool enable you to see how users interact with the end-user application.

Reports can be found on the Reports tab in the Application Builder administration tool settings page (the cog icon on the navigation bar). After reporting is enabled, reporting data is collected and stored.
Note: Reports work by logging application usage data as fields into a Watson Explorer Engine search collection that populates the log entity in Application Builder. Search is disabled by default in the log entity configuration because the reports are viewed in the administration tool.

Purging the logs collection

Because data for reports is stored in a collection data store that populates the log entity, periodically create a new collection and delete the old one as it becomes full. The time interval you choose to delete the logs collection will depend on the number of users and their activity in the application. To delete old report data:
  1. In the Watson Explorer Engine administration tool, find the logs search collection and duplicate the XML to another collection.
    1. Click the xml link, which is located on the right side of the collection heading.
    2. Click the duplicate button.
  2. In the collection Overview tab, click start.
  3. In the Application Builder administration tool, on the log entity configuration page, change the data store to logs-copynumber collection, and then click Save.
  4. Delete the old search collection from Watson Explorer Engine.

Memory consideration

Fields that populate each report are fast-indexed. If you're concerned about the amount of memory that is used to store these fast-indexed fields in RAM, for reports that you do not use, you can remove the fast-indexed fields. Fast-indexed fields are listed in the search collection Configuration > Indexing tab in the Fast Index field in the logs collection.

The system reports use the following fast-indexed fields:
Most-viewed entities
  • entity_title
  • params_controller
  • params_action
Top clicked results
  • params_entity_title
  • params_controller
Top expanded queries
  • expanded_query
Top IP addresses
  • request_ip
Top modified queries
  • modified_query
Top queries
  • params_q
  • created|date
Top spelling corrections
  • corrected_query
Top zero-document queries
  • params_q
  • total_results