ncloud_export_postgresql_log
Export a PostgreSQL server log file from Naver Cloud to Object Storage by specifying the server instance, file name, and bucket; list available logs first to choose a valid file.
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>",
"fileName": "<fileName>",
"bucketName": "<bucketName>"
},
"name": "ncloud_export_postgresql_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | No | Log type (only POSTGRESQL_LOG is supported) | POSTGRESQL_LOG |
| 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 |