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

Get MetadataAuditTrail

Use this command to retrieve metadata audit trail information to a file or an object list. You can retrieve 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.

Copy

Syntax

Get METADATAAUDITTRAIL TO FileName|ObjectListName [USING auditspecName]                

where:

  • FileName is the name for the created ASCII file, containing the metadata audit trail information in comma delimited format. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\Info.csv"

  • ObjectListName is the name of the object list variable, containing the metadata audit trail information.
  • 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 retrieved.

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 retrieve non-security related metadata activity.

Copy

Syntax example

Get METADATAAUDITTRAIL TO MetaDataAudit.csv USING MyAuditSpec.lvaud            
Copy

Syntax example

USERFILTER user888
DATEFILTER 2020-01-01, TO, 2020-01-31
CATEGORYFILTER USER|GROUP|GROUPMEMBERSHIP|SYMBOL                                

Published:

Get MetadataAuditTrail

Use this command to retrieve metadata audit trail information to a file or an object list. You can retrieve 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.

Copy

Syntax

Get METADATAAUDITTRAIL TO FileName|ObjectListName [USING auditspecName]                

where:

  • FileName is the name for the created ASCII file, containing the metadata audit trail information in comma delimited format. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\Info.csv"

  • ObjectListName is the name of the object list variable, containing the metadata audit trail information.
  • 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 retrieved.

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 retrieve non-security related metadata activity.

Copy

Syntax example

Get METADATAAUDITTRAIL TO MetaDataAudit.csv USING MyAuditSpec.lvaud            
Copy

Syntax example

USERFILTER user888
DATEFILTER 2020-01-01, TO, 2020-01-31
CATEGORYFILTER USER|GROUP|GROUPMEMBERSHIP|SYMBOL                                

For an optimal Community experience, Please view on Desktop