The REST API provides the following method to export system logs or audit logs:
POST /api/logs/export
URI | POST /api/logs/export |
---|---|
Description | Exports system logs or audit logs for the given time range. |
Request Header |
|
Accept: application/vnd.orchestral.rhapsody.6_5+json Content-Type: application/vnd.orchestral.rhapsody.6_5+zip CSRF Protection Enabled |
|
Request Body | The search parameter data object structure is as follows:
|
Response Status | 200 OK - returns the configuration in ZIP format. |
Response Body | A zipped file of pipe-delimited logs. This is the same format as provided by the Management Console export functionality. |
Access Rights | 'Export logs REST API'. |