ncloud_export_postgresql_log
Export Cloud DB for PostgreSQL server logs to Object Storage. Use ncloud_list_postgresql_logs to get available files, then specify the filename and bucket to transfer.
Instructions
Export a Cloud DB for PostgreSQL server log file to Object Storage. Use ncloud_list_postgresql_logs to get available log files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cloudPostgresqlServerInstanceNo": "<cloudPostgresqlServerInstanceNo>",
"logType": "<logType>",
"fileName": "<fileName>",
"bucketName": "<bucketName>"
},
"name": "ncloud_export_postgresql_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | Yes | Log type to export (e.g. ERROR, SLOW, etc.) | |
| fileName | Yes | Log file name to export (from ncloud_list_postgresql_logs) | |
| bucketName | Yes | Object Storage bucket name to export to | |
| folderPath | No | Folder path within the bucket (e.g. 'postgresql-logs/error'). If omitted, exports to bucket root. | |
| regionCode | No | Region code (default: current region) | |
| cloudPostgresqlServerInstanceNo | Yes | Cloud PostgreSQL server instance number |