Delete server log collection agent

Prev Next

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

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"))