--- title: "getCloudMssqlLogFileList" slug: "cli-vmssql-getcloudmssqllogfilelist" updated: 2026-09-17T10:08:42Z published: 2026-09-17T10:08:42Z canonical: "cli.ncloud-docs.com/cli-vmssql-getcloudmssqllogfilelist" --- > ## 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. # getCloudMssqlLogFileList Available in VPC Get the list of Cloud DB for MSSQL log files. ## Syntax The `getCloudMssqlLogFileList` syntax is as follows: ``` ./ncloud vmssql getCloudMssqlLogFileList \ --cloudMssqlInstanceNo \ --cloudMssqlServerInstanceNo \ --fileType \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `getCloudMssqlLogFileList`. ### Required options The following options are required for `getCloudMssqlLogFileList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--cloudMssqlInstanceNo` | String | Required | Cloud DB for MSSQL instance number - See [getCloudMssqlInstanceList](/docs/en/cli-vmssql-getcloudmssqlinstancelist). | | `--cloudMssqlServerInstanceNo` | String | Required | Cloud DB for MSSQL server instance number - See [getCloudMssqlInstanceList](/docs/en/cli-vmssql-getcloudmssqlinstancelist). | | `--fileType` | String | Required | Log file type - `errorLog` \| `agentLog` \| `traceLog` \| `auditLog` \| `xeBaselineLog` | ### Common options For information about the options common to all `vmssql` subcommands, see [Cloud DB for MSSQL (VPC) options](/docs/en/cli-vmssql#%EC%98%B5%EC%85%98). ## Examples If the request to retrieve the list of log files in Cloud DB for MSSQL is successful, the name, size, and creation date and time of each log file are returned. ### Command The command example is as follows: ``` ./ncloud vmssql getCloudMssqlLogFileList \ --cloudMssqlInstanceNo 25280088 \ --cloudMssqlServerInstanceNo 25280089 \ --fileType errorLog \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "getCloudMssqlLogFileListResponse": { "totalRows": 7, "cloudMssqlLogFileList": [ { "fileName": "ERRORLOG.6", "fileSize": 0, "fileDate": "2026-06-09T20:13:12+0900" }, { "fileName": "ERRORLOG.5", "fileSize": 54832, "fileDate": "2026-06-09T20:13:19+0900" }, { "fileName": "ERRORLOG.4", "fileSize": 435918, "fileDate": "2026-06-09T20:13:43+0900" }, { "fileName": "ERRORLOG.3", "fileSize": 21432, "fileDate": "2026-06-09T20:14:11+0900" }, { "fileName": "ERRORLOG.2", "fileSize": 20698, "fileDate": "2026-06-09T20:16:48+0900" }, { "fileName": "ERRORLOG.1", "fileSize": 43090, "fileDate": "2026-06-09T20:17:59+0900" }, { "fileName": "ERRORLOG", "fileSize": 25518, "fileDate": "2026-06-09T20:23:45+0900" } ], "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "returnCode": "0", "returnMessage": "success" } } ```