The following operation is supported on this resource:

  • GET - Get a single audit log in Junos Space
GET /audit-logs/{id} Version 1

This API gives complete information about a particular audit log record. It provides the pull through information about the modified object or objects and names responsible for modifications.


Sample Usage

GET /audit-logs/{id}

  • Parameters:
    Name Type URI Type Description Required
    id Integer Path   Y
  • Sample Output XML:

    <audit-log uri="/api/space/audit-log-management/audit-logs/589827">
       <description>Job: Device discover scheduled with job id 360448</description>
       <logTime>2011-08-29 11:01:25 IST</logTime>
       <taskName>POST: /api/space/device-management/discover-devices</taskName>
       <job href="/api/space/job-management/jobs/360448"/>

  • Sample Output JSON:

      "audit-log": {
           "@uri": "/api/space/audit-log-management/audit-logs/589827",
           "description": "Job: Device discover shcheduled with job id 360448",
           "logTime":"2011-08-29 11:01:25 IST",
           "taskName": "POST: /api/space/device-management/discover-devices",
               "@href": "/api/space/job-management/jobs/360448"}

  • Access Control

    The following capabilities are required to access this API: ReadAuditLogs