Get the live access logs of devices

Use this API to get the live logs of discovered devices.

Resource Information

Method

URL

Required authentication

GET

/V1/CMDB/Discovery/Tasks/{task}/LiveAccessLog

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

task*required
(path)

Input the name or ID of a scheduled discovery task. Get a task ID by using the API Get all discovery tasks in a domain.

IPs
(query)

The list of IPs of discovered devices. Returns live logs of all devices if not specified.

Response

Parameter

Type

Description

Example

statusCode

integer

The returned status code of executing the API.

{
  "statusCode"790200,
  "statusDescription""success",
  "devices": [
    {
      "mgmtIP""172.24.101.12",
      "liveLogs""xxx"
    }
  ]
}

statusDescription

string

The explanation of the status code.

devices

list

A list of discovered devices.

mgmtIP

string

The management IP of a device.

livelogs

string

The live logs of a device.