Disabling VPC server log collection
- Print
- PDF
Disabling VPC server log collection
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Disable the log collection settings of server.
Disable VPC server log collection information
This API disables the log collection information of the server in VPC Platform.
Request URL
DELETE https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/vpc/servers/collecting-infos/{instanceNo}
Request headers
Header name | Description |
---|---|
x-ncp-apigw-timestamp | Time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC The request is considered invalid if the time difference compared to the API Gateway server is more than 5 minutes x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-apigw-api-key | Key value issued by APIGWx-ncp-apigw-api-key:{API Gateway API Key} |
x-ncp-iam-access-key | Access Key ID value issued from NAVER Cloud Platform portalx-ncp-iam-access-key:{Account Access Key} |
x-ncp-apigw-signature-v2 | Signature encrypted with the Access Key ID value and Secret Keyx-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | Specifies the request body content type as application/json |
>`Content-Type: application/json` |
Request bodies
Parameter name | Parameter description | Required | Available Values | Data Type |
---|---|---|---|---|
instanceNo | instanceNo of the server to be disabled | Y | You can get input value through the view server list API ex) 1234567 | Integer |
Request examples
DELETE https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/vpc/servers/collecting-infos/1234
HOST: cloudloganalytics.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: FJSBB4K3XnaGAvVe0Hzj3/2hfNWvgLHR1rQHW2Et2Rs=
x-ncp-apigw-timestamp: 1593848345548
x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo
curl -X DELETE "https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/vpc/servers/collecting-infos/1234"
-H "accept: application/json"
-H "x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo"
-H "x-ncp-apigw-timestamp: 1594028090244"
-H "x-ncp-apigw-signature-v2: 0yZWUZ9HgzrrB53IglA5Vt2RZMMUnrogzZ4yNBAi/9A="
Response examples
{
"code": 0,
"message": "Your request has been processed normally",
"result": "SUCCESS"
}
Was this article helpful?