Skip to main content

 –

Reporting on rule usage snapshots

Suggest edit Updated on November 30, 2021

Pega Platform maintains statistics about the number of rule executions since startup. Create and view reports about these shutdown statistics to understand which rules execute most often, and which execute rarely or not at all. Viewing these statistics can help you identify the causes of variations in system performance.

The system holds these statistics as property values in the Log-RuleUsage class, with additional detail in the Log-RuleUsage-Details class. In the normal table mapping, the system saves these statistics a row of the pr4_log_usage and pr4_log_rule_usage tables. For a description of the properties in these classes, see Rule usage snapshots.

Choose from the following, depending on your needs and system access.

  • Create a report on the Log-RuleUsage or the Log-RuleUsage-Details class.
    You can filter the report on any exposed property such as node ID, snapshot name, update timestamp, and so forth.
  • In Dev Studio, in the navigation pane, click App, and then do the following steps.
    1. In the class name field, enter Log-RuleUsage.
    2. To see a list of instances, click the Log-RuleUsage label.
    3. To see the property values for an instance in clipboard format, click on an instance.
  • If you have direct database access, use SQL tools to view and filter the contents of the pr4_log_usage and pr4_log_rule_usage tables.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us