RemoveAudit

The RemoveAudit command action is used to delete the specific audit records from the TIBCO MFT Command Center system.

The RemoveAudit command action deletes audit records in two ways:

  • You can specify the number of days to keep audit records. All audit records written before the oldest day will be purged.
  • You can specify a purge date. All records written before that date will be purged.

To use the RemoveAudit action command, you must have AdministratorRight. For more information on this right, see AddUserToRole.

Parameter Description Default Required
Days Specifies the number of days of audit records that should be saved. None Either the Days or PurgeDate parameter must be specified.
PurgeDate Specifies the purge date. Any audit record written before the purge date will be deleted.

The purge date format is YYYY/MM/DD.

None Either the Days or PurgeDate parameter must be specified.
ServerType Specifies the server type.

The valid values are as follows:

  • I: Internet server
  • P: Platform server
  • B: Both
B: Both No

Sample RemoveAudit Command

This command keeps audit records written within 30 days. Any audit record written before 30 days will be purged.

java cfcc.CFAdmin a:RemoveAudit Days:30