Policy analytics

The policy analytics feature stores event data relating to the enforcement of policies that have been defined in the governance policy validator. You can then view this data graphically, by using the Business Space user interface. You can, for example, see the percentage policy pass and failure rates over a specified period.

The policy analytics feature has two components, the event emitter and the event server.
Event emitter

The event emitter emits a policy analytics event whenever a governance policy validator policy is enforced following a user operation.

A policy analytics event can be any of the following:
  • An operation successfully passes a policy.
  • An operation fails a policy.
  • An operation passes a policy with a warning.

You can configure the event emitter to restrict the events that are emitted. You can, for example, choose to emit policy events only for specified polices, and to restrict the events emitted to those resulting from operations performed by specified users.

Event server

The event server collects the policy analytics events that are emitted by the event emitter, and logs them in the WSRR database.

You can configure the event server to filter the events that are logged, so that you can manage the database size and content. You can, for example, choose to log only those events that relate to failing policy assertions.

You can also limit the amount of data retained in the database by specifying a cleanup time period; policy analytics events that are older than this time period are removed automatically.

You configure the event server and the event emitter by using configuration files. Default files are provided, which you can modify as required, or you can create your own files and load them into WSRR.

Configuring the policy analytics feature is described in the following subtopics: