---
title: "getAutoScalingActivityLogList"
slug: "cli-autoscaling-getautoscalingactivityloglist"
updated: 2026-04-23T08:57:03Z
published: 2026-04-23T08:58:56Z
canonical: "cli.ncloud-docs.com/cli-autoscaling-getautoscalingactivityloglist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getAutoScalingActivityLogList

## 개요<a name="개요"></a>


액티비티 로그 리스트 조회


## 설명<a name="설명"></a>


과거 6주 동안의 모든 scaling action 로그를 결과로 받습니다. 최근 로그부터 Descending으로 나열됩니다.
또한 페이징이 가능하여 사용자가 각 페이지 사이즈(항목 수)와 페이지 번호를 지정할 수 있습니다.


## 요청 파라미터<a name="요청파라미터"></a>


| 파라미터 명          | 필수   여부 | 타입         | 제약사항              | 설명                                                         |
| -------------------- | ----------- | ------------ | --------------------- | ------------------------------------------------------------ |
| activityNoList       | No          | List<String> | -                     | 스케일링 액션(activity)  식별 번호                   |
| autoScalingGroupName | No          | String       | Min : 1, Max : 255    | 조회하고자 하는 오토 스케일링 그룹명 입력           |
| pageNo               | No          | Integer      | Min:0, Max:2147483647 | 리스트 조회 시 Pagination의 페이지 정보 입력</br>기본 값 0으로 입력한 경우 모든 리스트 조회 |
| pageSize             | No          | Integer      | Min:0, Max:2147483647 | 리스트 조회시   Pagination의 보여질 정보의 개수 입력</br>기본 값 0으로 입력한 경우 모든 목록 조회 |



## 응답 데이터 타입<a name="응답데이터타입"></a>


- ActivityLogList 타입

| ActivityLogList extends CommonResponse                                                            |
| ------------------------------------------------------------------------------------------------- |
| private Integer totalRows;                                                                        |
| private List<ActivityLog> activityLogList = new ArrayList<ActivityLog>();                         |


| ActivityLog extends BaseObject                                                                    |
| ------------------------------------------------------------------------------------------------- |
| private String activityNo;                                                                        |
| private String autoScalingGroupName;                                                              |
| private CommonCode status;                                                                        |
| private String statusMessage;                                                                     |
| private String actionCause;                                                                       |
| private String description;                                                                       |
| private String details;                                                                           |
| private Date startTime;                                                                           |
| private Date endTime;                                                                             |



## 예시<a name="예시"></a>

### 호출<a name="호출"></a>

```
ncloud autoscaling getAutoScalingActivityLogList --activityNoList 26019 26020 26021 --autoScalingGroupName soso02
```

### 응답<a name="응답"></a>


```json
{
  "getAutoScalingActivityLogListResponse": {
    "requestId": "bc6e7dc6-be77-4dcc-b88d-b06ac92bcc0c",
    "returnCode": "0",
    "returnMessage": "success",
    "totalRows": 2,
    "activityLogList": [
      {
        "activityNo": "26019",
        "autoScalingGroupName": "soso02",
        "status": {
          "code": "INPRG",
          "codeName": "IN_PROGRESS"
        },
        "statusMessage": "",
        "actionCause": "At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.",
        "description": "Terminating server instance: #352663",
        "details": "{\"zoneNo\":\"2\"}",
        "startTime": "2017-12-19T11:33:03+0900"
      },
      {
        "activityNo": "26020",
        "autoScalingGroupName": "soso02",
        "status": {
          "code": "INPRG",
          "codeName": "IN_PROGRESS"
        },
        "statusMessage": "",
        "actionCause": "At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.",
        "description": "Terminating server instance: #352668",
        "details": "{\"zoneNo\":\"2\"}",
        "startTime": "2017-12-19T11:33:03+0900"
      }
    ]
  }
}
```
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<getAutoScalingActivityLogListResponse>
  <requestId>bc6e7dc6-be77-4dcc-b88d-b06ac92bcc0c</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>2</totalRows>
  <activityLogList>
    <activityNo>26019</activityNo>
    <autoScalingGroupName>soso02</autoScalingGroupName>
    <status>
      <code>INPRG</code>
      <codeName>IN_PROGRESS</codeName>
    </status>
    <statusMessage></statusMessage>
    <actionCause>At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.</actionCause>
    <description>Terminating server instance: #352663</description>
    <details>{&quot;zoneNo&quot;:&quot;2&quot;}</details>
    <startTime>2017-12-19T11:33:03+0900</startTime>
  </activityLogList>
  <activityLogList>
    <activityNo>26020</activityNo>
    <autoScalingGroupName>soso02</autoScalingGroupName>
    <status>
      <code>INPRG</code>
      <codeName>IN_PROGRESS</codeName>
    </status>
    <statusMessage></statusMessage>
    <actionCause>At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.</actionCause>
    <description>Terminating server instance: #352668</description>
    <details>{&quot;zoneNo&quot;:&quot;2&quot;}</details>
    <startTime>2017-12-19T11:33:03+0900</startTime>
  </activityLogList>
</getAutoScalingActivityLogListResponse>
```
