Web API Reference Guide > Available API Methods > Audit Methods > The auditExport Method

The auditExport Method

Export the audit log to zipped log file.

Version: 1.3

Required Permissions: Read-only

HTTP method: GET

Supported by Editions: All

Request Parameters:  

Parameter

 Type

Required

Description

filters

array

No

Array of filters: ‘from’ and ‘to’ timestamps, ‘auditGroups’ for groups types, ‘freeText’ for string search and ‘outcome’ for status of result

Expected Response Code: 200 OK. For more information see Response Format.

Response Format: Binary zip file

Possible Action Specific Error Codes: This action has no specific error codes

Example

Usage Example

Request

GET /ZendServer/Api/auditExport

Response

HTTP/1.0 200 OK

Content-type: application/vnd.zend.serverconfig

Content-disposition: attachment;

filename=”auditLog-19Aug2013-134037+0300.zip”

[...binary data follows...]

 

Read Also

  Available API Methods    
  Audit Methods