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

Prev Next

Available in VPC

Get the list of Cloud DB for MSSQL log files.

Syntax

The getCloudMssqlLogFileList syntax is as follows:

./ncloud vmssql getCloudMssqlLogFileList \
    --cloudMssqlInstanceNo <instance-no> \
    --cloudMssqlServerInstanceNo <server-instance-no> \
    --fileType <errorLog|agentLog|traceLog|auditLog|xeBaselineLog> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

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
--cloudMssqlServerInstanceNo String Required Cloud DB for MSSQL server instance number
--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.

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"
  }
}