Enabling and Disabling Auditing Events

The auditing is used to build metrics and statistics for an application.

Configure the following BWEngine property in the config.ini file to enable and disable auditing at AppSpace and AppNode level.
  • bw.engine.disable.auditevent: By default, the value of the property is false.
    Note: Restart the AppNode after configuring the property.

You can perform auditing without restarting an AppNode or an application with the help of the following CLI commands:

Command Description
enableauditeventsEnable Audit Events for an AppNode.
disableauditeventsDisable Audit Events for an AppNode.
Note: Once you disable audit events, metrics and statistics-related features of the TIBCO ActiveMatrix BusinessWorks™ Administrator do not work.

Enabling and Disabling Input and Output Data for Audit Events

Configure the following BWEngine property in the config.ini file to enable and disable input and output data for audit events at an AppSpace and an AppNode level:

  • bw.engine.enable.activity.input.output.data.for.audit.events: By default, the value of the property is false.
    Note: Restart the AppNode after configuring these properties.

You can perform enable or disable input and output data for audit events without restarting an AppNode or an application by using the following CLI commands:

Command Description
enableinputoutputdataforauditevents Enable input output data for audit events for an AppNode.
disableinputoutputdataforauditevents Disable input output data for audit events for an AppNode.

When using Statistics collection, the input and output data storage can also be disabled or enabled for audit events using the following BWEngine REST APIs:

  • To disable:

    http://<host>:<appnode port>/bwm/monitor.json/disableinputoutputdataforauditevents

  • To enable:

    http://<host>:<appnode port>/bwm/monitor.json/enableinputoutputdataforauditevents