---
title: "getCloudMysqlEventHistoryList"
slug: "cli-vmysql-getcloudmysqleventhistorylist"
updated: 2026-06-25T09:10:27Z
published: 2026-06-25T09:10:27Z
canonical: "cli-fin.ncloud-docs.com/cli-vmysql-getcloudmysqleventhistorylist"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.
# getCloudMysqlEventHistoryList
Cloud DB for MySQL 인스턴스의 이벤트 내역 목록을 조회합니다.
## 명령어
명령어 구문은 다음과 같습니다.
```
ncloud vmysql getCloudMysqlEventHistoryList [regionCode] [cloudMysqlServerName] [startDate] [endDate] [pageNo] [pageSize] [output]
```
### 파라미터
파라미터에 대한 설명은 다음과 같습니다.
| 파라미터 | 타입 | 필수 여부 | 설명 | 제약 사항 |
| ----- | ----- |-------| ----- |--------|
| regionCode | String | N | Cloud DB for MySQL 인스턴스가 존재하는 리전 코드
[getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해서 획득 가능 default: [getRegionList](/docs/cli-vserver-server-common-getregionlist) 조회 결과의 첫 번째 리전을 선택 | - |
| cloudMysqlServerName | String | Y | Cloud DB for MySQL 서버 이름 [getCloudMysqlInstanceList](/docs/cli-vmysql-getcloudmysqlinstancelist) 액션을 통해서 획득 가능 | - |
| startDate | String | Y | 조회 시작 일자- 조회 시작 일자 형식 : yyyy-MM-dd HH:mm:ss
- <예시> `2024-01-01 00:00:00`
| - |
| endDate | String | Y | 조회 종료 일자- 조회 종료 일자 형식 : yyyy-MM-dd HH:mm:ss
- <예시> `2024-12-31 23:59:59`
| - |
| pageNo | Integer | N | 페이징 처리된 결과의 페이지 번호- `pageNo`, `pageSize`를 이용하여 페이징 처리
- 0 (기본값)
| min: 0 |
| pageSize | Integer | N | 한 페이지에 보여줄 결과 개수- `pageNo`, `pageSize`를 이용하여 페이징 처리
- 20 (기본값)
| min: 1 |
| output | String | N | 응답 결과의 포맷 타입 options: xml \| json default: json | - |
## 응답
### 응답 데이터 타입
명령어 호출에 대한 응답 데이터 타입은 다음과 같습니다.
* CloudMysqlEventHistoryList 타입
| CloudMysqlEventHistoryList extends CommonResponse | 설명 |
|--------------------------------------------------------------------------------------------|-----|
| private Integer totalRows; | 조회된 목록의 총 개수 |
| private List<CloudMysqlEventHistory> cloudMysqlEventHistoryList = new ArrayList<>(); | |
* CloudMysqlEventHistory 타입
| CloudMysqlEventHistory | 설명 |
| ---------- |-----|
| private String cloudMysqlInstanceNo; | Cloud DB for MySQL 인스턴스 번호 |
| private String cloudMysqlServerInstanceNo; | Cloud DB for MySQL 서버 인스턴스 번호 |
| private String cloudMysqlServerName; | Cloud DB for MySQL 서버 이름 |
| private String eventTime; | 이벤트 발생 시간 |
| private String eventType; | 이벤트 타입 |
| private String eventName; | 이벤트 이름 |
| private String eventContent; | 이벤트 내용 |
| private String clientIp; | 접속 IP |
## 예시
호출과 응답 예시를 설명합니다.
### 호출 예시
호출 예시는 다음과 같습니다.
```
ncloud vmysql getCloudMysqlEventHistoryList --regionCode FKR --cloudMysqlServerName abcd --startDate '2024-08-13 17:00:00' --endDate '2024-08-13 17:00:00' --pageNo 0 --pageSize 10
```
### 응답 예시
응답 예시는 다음과 같습니다.
응답 결과 포맷 타입(output)이 json 일 때
```json
{
"getCloudMysqlEventHistoryListResponse": {
"totalRows": 2,
"cloudMysqlEventHistoryList": [
{
"cloudMysqlInstanceNo": "****890",
"cloudMysqlServerInstanceNo": "****891",
"cloudMysqlServerName": "abcd-001-****",
"eventTime": "2024-08-13 17:10:00",
"eventType": "DB Server",
"eventName": "DB",
"eventContent": "DB start",
"clientIp": "10.x.x.x"
},
{
"cloudMysqlInstanceNo": "****890",
"cloudMysqlServerInstanceNo": "****891",
"cloudMysqlServerName": "abcd-001-****",
"eventTime": "2024-08-13 17:20:00",
"eventType": "DB Server",
"eventName": "DB",
"eventContent": "Change Spec MySQL Completed",
"clientIp": "10.x.x.x"
}
],
"requestId": "36cc2f85-****-****-****-5d2511df4e45",
"returnCode": "0",
"returnMessage": "success"
}
}
```
응답 결과 포맷 타입(output)이 xml 일 때
```xml
36cc2f85-****-****-****-5d2511df4e45
0
success
2
****890
****891
abcd-001-****
2024-08-13 17:10:00
DB Server
DB
DB start
10.x.x.x
****890
****891
abcd-001-****
2024-08-13 17:10:00
DB Server
DB
Change Spec MySQL Completed
10.x.x.x
```