Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Reset MetadataAuditTrail

Use this command to reset metadata audit trail information. You can reset specific metadata audit trail information by using a AuditSpec document to filter the results retrieved.

Note: Using the Metadata Audit Trail functionality requires that the Metadata Audit Trail parameter be set to TRUE in Longview Server Manager (the default value is FALSE).
For more information, see the Longview Server Manager Guide. If you do not have access to this functionality, contact your System Administrator.

Note: If the MetaData Audit Trail Log Files Location parameter is set in Longview Server Manager, the metatdata audit trail records that have been reset will be logged to the specified file.

Copy

Syntax

Reset METADATAAUDITTRAIL [USING auditspecName] [comment]                

where:

  • auditSpecName is the name of the AuditSpec document to filter the result. This parameter is optional. If you do not specify an auditSpecName, all metadata audit trail data will be reset.
  • comment is an optional character string to be used as a comment.
    • Enclose in double quotation marks.
    • To include double quotation marks in the character string, precede the interior double quotation marks with a backslash ( \ ).

Note: There are specific AuditSpec functions that can be used to filter the DataAuditTrail results. See “Using DataSpec functions”

Note: Depending on your user and/or group authorizations, you may not be able to use this command, or you may only be able to reset non-security related metadata activity.

Copy

Syntax example

Reset METADATAAUDITTRAIL USING MyResetAuditSpec.lvaud "Remove entires created during testing"    

Published:

Reset MetadataAuditTrail

Use this command to reset metadata audit trail information. You can reset specific metadata audit trail information by using a AuditSpec document to filter the results retrieved.

Note: Using the Metadata Audit Trail functionality requires that the Metadata Audit Trail parameter be set to TRUE in Longview Server Manager (the default value is FALSE).
For more information, see the Longview Server Manager Guide. If you do not have access to this functionality, contact your System Administrator.

Note: If the MetaData Audit Trail Log Files Location parameter is set in Longview Server Manager, the metatdata audit trail records that have been reset will be logged to the specified file.

Copy

Syntax

Reset METADATAAUDITTRAIL [USING auditspecName] [comment]                

where:

  • auditSpecName is the name of the AuditSpec document to filter the result. This parameter is optional. If you do not specify an auditSpecName, all metadata audit trail data will be reset.
  • comment is an optional character string to be used as a comment.
    • Enclose in double quotation marks.
    • To include double quotation marks in the character string, precede the interior double quotation marks with a backslash ( \ ).

Note: There are specific AuditSpec functions that can be used to filter the DataAuditTrail results. See “Using DataSpec functions”

Note: Depending on your user and/or group authorizations, you may not be able to use this command, or you may only be able to reset non-security related metadata activity.

Copy

Syntax example

Reset METADATAAUDITTRAIL USING MyResetAuditSpec.lvaud "Remove entires created during testing"    

For an optimal Community experience, Please view on Desktop