ncloud_export_mongodb_log
Exports a Cloud DB for MongoDB server or audit log file to Object Storage by using the MongoDB instance number, log file name, and target bucket name.
Instructions
Export a Cloud DB for MongoDB server log file to Object Storage. Get fileName from ncloud_list_mongodb_logs (same logType) and bucketName from ncloud_list_mongodb_buckets.
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": {
"cloudMongoDbServerInstanceNo": "<cloudMongoDbServerInstanceNo>",
"fileName": "<fileName>",
"bucketName": "<bucketName>"
},
"name": "ncloud_export_mongodb_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | No | Log type: log (server log, default) or audit | log |
| fileName | Yes | Log file name (from ncloud_list_mongodb_logs) | |
| bucketName | Yes | Object Storage bucket name (from ncloud_list_mongodb_buckets) | |
| cloudMongoDbServerInstanceNo | Yes | Cloud MongoDB server instance number |