REST API - checkAutoArchive

The table summarizes the REST API - checkAutoArchive.

Request

Format
GET <baseurl>/audit/archive/check

Response

JSON Returns a JSON representation of the content of a checkAutoArchiveResponse element.
XML Returns the content of a checkAutoArchiveResponse element (from the EventCollectorManagementService schema).

Example

Request
GET <baseurl>/audit/archive/check
Response
{"xml-fragment": {
   "isRunning": false,
   "status": "No Archive running",
   "nextArchiveAt": "2015-08-12T01:15:00.000Z",
   "lastRun":    {
      "start": "2015-08-11T13:16:35.773Z",
      "end": "2015-08-11T13:16:35.803Z",
      "duration": 30,
      "instancesArchived": 0,
      "instanceEventsArchived": 0,
      "systemEventsArchived": 0,
      "totalEventsArchived": 0,
      "ecEventSize": 389,
      "succeeded": true,
      "timeout": "2015-08-11T15:16:35.772Z"
   }
}}