Skip to main content Skip to complementary content
Close announcements banner

ExportAuditTrail

Export audit trail data from all servers.

Required User Role: See Required Enterprise Manager permissions.

Syntax

public string ExportAuditTrail(

string startTimestamp,

string endTimestamp

);

Parameters

Parameters
Parameter Type Description
start_timestamp string

start timestamp: (UTC format or Ticks)

Example: 2020-06-30T16:15:00Z (UTC format)

Example: 637410358250082194 (Ticks)

end_timestamp

string

end timestamp: (UTC format or Ticks)

Example: 2020-06-30T16:15:00Z (UTC format)

Example: 637410358250082194 (Ticks)

null : latest audit trail record

Return values

JSON File (stream)

Errors

Error responses
Error Message Description

AEM_INVALID_TIMESTAMP_FORMAT

Timestamp is not a timestamp.

Timestamp format should be 'yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z or Ticks.

Timestamp is not valid.

AEM_EXPORT_INNER_ERR

Failed to export audit trail.

AUDIT-E-INVRANGE. The end time is before the start time.

Time range is not valid.

UNAUTHORIZED_REQUEST Unauthorized Request. request: AemExportAuditTrail User does not have permission to access the audit trail information.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!