Viewing and saving audit records
To view or query audit records
- Expand the Operations list and select Audit. The Audit Events pane is displayed:

- To change the audit filter parameters (date/time range), use the menus at the top of the screen.
- (Optional) If you want to further filter the audited events, select a project from the list.
- Click Submit to display all audit records for the specified time range.
- (Optional) To filter audited events by object name, enter the object name.
Click the + icon to expand any queue (or other object type) log, and review parameters associated with the operation, such as properties recording their previous and new values for an object.
The following table displays additional columns in this view:Column
Description
Username
User name of the person who has requested the action.
Event Type
Type of event that occurred.
Object Name
Name of the object that the event was generated against.
Namespace
WMQ or EMS
Connection
Connection for the object that the event was generated against.
Return Code
The return code from the action; a positive number indicates success, a negative number indicates failure (review the audit log for further details).
To save the audit records to a file
- Filter the audit records by defining a date/time range using the menus at the top of the screen.
- (Optional) If you want to further filter the audited events, select a project from the list.
- Click Export as CSV icon.
- In the displayed dialog, choose to save or open the file (in .CSV format).
To send audit entries to the log
Performing the following steps enable MVMA to send audit entries to the log:
- Open configuration\services\org.ops4j.pax.logging.properties.
- At the bottom of the file, in the Audit Logging section, set Log4jAuditLogger=info, and modify or uncomment the following log4j.appender.Audit lines to appear as follows:
[Audit Logging]
log4j.logger.com.bmc.mmadmin.service.audit.internal.log.Log4jAuditLogger=info, Audit
#log4j.logger.com.bmc.mmadmin.service.audit.internal.log.Log4jAuditLogger=off, Audit
log4j.additivity.com.bmc.mmadmin.service.audit.internal.log.Log4jAuditLogger=false
log4j.appender.Audit=org.apache.log4j.RollingFileAppender
log4j.appender.Audit.File=logs/bmm.admin.audit.log
log4j.appender.Audit.MaxFileSize=10MB
log4j.appender.Audit.MaxBackupIndex=5
log4j.appender.Audit.Append=true
log4j.appender.Audit.layout=org.apache.log4j.PatternLayout
log4j.appender.Audit.layout.ConversionPattern=%m%n
To enable auditing MQ message data
By default, when MVMA audits MQ messaging operations, it does not write any message payload data to the [internal/external] audit log file. Instead, it places any message contents affected by the change with a placeholder in the audit records.
Perform the following steps to enable auditing of MQ message payload data for the external audit log file:
1. Enable the external audit log file as described in To send audit entries to the log.
2. Stop MVMA services.
3. Open the wrapper.conf file in the configuration subfolder of the MVMA installation directory.
4. Enable the system property ENABLE_AUDIT_MESSAGE_CONTENT by adding the following entry:
The value of NN indicates the highest number of current entries of the same type increased by 1.
5. Restart MVMA services.