Delete server log collection agent
- Print
- PDF
Delete server log collection agent
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic and VPC
This section describes how to delete the log collection agent from the server after disabling log collection. If you don't delete the log collection agent, the data will not be stored in Cloud Log Analytics, but it will continue to be sent, resulting in unnecessary internal data traffic, so it is essential to delete it. To delete an agent, you must execute the delete command.
Note
- If you want to know how to disable log collection, see the following.
- VPC environment: Disable server log collection
- Classic environment: Disable server log collection
- For more information on how to delete the server log collection agent, see the Cloud Log Analytics User Guide.
VPC environment
The command to delete the server log collection agent in the VPC environment is as follows.
- Linux server
curl -s http://cm.vcla.ncloud.com/removeCla | sudo sh
- Windows server
Invoke-Expression $((New-Object System.Net.WebClient).DownloadString("http://cm.cla.ncloud.com/removewinCla"))
Classic environment
The command to delete the server log collection agent in the Classic environment is as follows.
- Linux server
curl -s http://cm.cla.ncloud.com/removeCla | sudo sh
- Windows server
Invoke-Expression $((New-Object System.Net.WebClient).DownloadString("http://cm.cla.ncloud.com/removewinCla"))
Was this article helpful?