ListSystemLogs

更新时间:
复制 MD 格式

Retrieves system logs. This API is deprecated and should not be used.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v2/systemlogs HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

The ID of the DSW instance.

dsw-730xxxxxxxxxx

SourceRequestId

string

No

The ID of the request that has an error.

473469C7-******5-B3DB-A3DC0DE3C83E

Offset

string

No

SortBy

string

No

The field to sort the results by. Supported fields:

  • GmtCreateTime

  • GmtModifiedTime

GmtCreateTime

Order

string

No

The sort order.

  • ASC: Ascending

  • DESC: Descending

ASC

LogRepository

string

No

LogLevel

string

No

The log level. The supported level is:

  • Error

Error

GmtStartTime

string

No

The start time in UTC. Use the ISO 8601 format.

2020-11-08T16:00:00Z

GmtEndTime

string

No

The end time in UTC. Use the ISO 8601 format.

2020-12-08T16:00:00Z

ProblemCategory

string

No

The category of the problem.

  • InstanceStartFailed

  • InstanceTerminating

  • InstanceCreateFailed

InstanceStartFailed

LifecycleId

string

No

Response elements

Element

Type

Description

Example

object

The system logs.

SystemLogs

array<object>

A list of system logs.

object

A system log.

Content

string

The content of the log.

You are using******

GmtCreateTime

string

The creation time of the log in UTC. The format is ISO 8601.

2020-10-08T16:00:00Z

Level

string

The log level.

Error。

Offset

string

Examples

Success response

JSON format

{
  "SystemLogs": [
    {
      "Content": "You are using******",
      "GmtCreateTime": "2020-10-08T16:00:00Z\n",
      "Level": "Error。"
    }
  ],
  "Offset": ""
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.