Retrieves system logs. This API is deprecated and should not be used.
Try it now
Test
RAM authorization
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 |
| Order |
string |
No |
The sort order.
|
ASC |
| LogRepository |
string |
No |
||
| LogLevel |
string |
No |
The log level. The supported level is:
|
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 |
| 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.