Available in VPC
Get the list of scaling action logs for Auto Scaling Group. Logs for schedules that ran in the last six weeks can be viewed and are returned sorted in descending order by execution start time.
Syntax
The getAutoScalingActivityLogList syntax is as follows:
./ncloud vautoscaling getAutoScalingActivityLogList \
--autoScalingGroupNo <auto-scaling-group-no> \
[--activityNoList <activity-no-list>] \
[--pageNo <page-no>] \
[--pageSize <page-size>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getAutoScalingActivityLogList.
Required options
The following options are required for getAutoScalingActivityLogList.
| Options | Type | Required | Description |
|---|---|---|---|
--autoScalingGroupNo |
String | Required | Auto Scaling Group number |
--pageSize |
Integer | Conditional | Number of items per page
|
Optional options
These are the optional options for getAutoScalingActivityLogList. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--activityNoList |
List | Optional | Log number list
|
--pageNo |
Integer | Optional | Page number
|
Common options
For information on options commonly used in the vautoscaling command, see Auto Scaling (VPC) options.
Examples
If the request to retrieve the list of scaling action logs is successful, the execution details for each log are returned.
Command
The command example is as follows:
./ncloud vautoscaling getAutoScalingActivityLogList \
--autoScalingGroupNo 20461037 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getAutoScalingActivityLogListResponse": {
"totalRows": 1,
"activityLogList": [
{
"autoScalingGroupNo": "20461037",
"activityNo": "84130266",
"serverInstanceNo": "34567890",
"zoneCode": "KR-2",
"actionName": "Launch",
"actionStatus": {
"code": "INPRG",
"codeName": "IN_PROGRESS"
},
"actionCause": "At 2026-07-07T10:25:45+0900 a user request update of AutoScalingGroup constraints to min: 0, max: 1, desired: 1 changing the desired capacity from 0 to 1.",
"actionDescription": "Launching a new server instance: #34567890",
"startTime": "2026-07-07T10:25:52+0900"
}
],
"requestId": "e7f8a9b0-c1d2-3456-efab-789012345678",
"returnCode": "0",
"returnMessage": "success"
}
}