Install server log collection agent
- Print
- PDF
Install 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 install the log collection agent on the server to actually collect the server's logs through Cloud Log Analytics after completing the log collection settings. To install the agent, you must run the installation command using the configKey
issued after completing the log collection settings.
Note
- If you want to know how to set the log collection settings and how to check the
configKey
, see the following.- VPC environment: Set server log collection
- Classic environment: Set server log collection
- For more information on how to install the server log collection agent, see the Cloud Log Analytics User Guide.
VPC environment
The command to install the server log collection agent in the VPC environment is as follows.
- Linux server
curl -s http://cm.vcla.ncloud.com/setUpClaVPC/{configKey} | sudo sh
- Windows server
Invoke-Expression $((New-Object System.Net.WebClient).DownloadString("http://cm.vcla.ncloud.com/setUpwinClaVPC/{configKey}"))
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/setUpCla/{configKey} | sudo sh
- Windows server
Invoke-Expression $((New-Object System.Net.WebClient).DownloadString("http://cm.cla.ncloud.com/setUpwinCla/{configKey}"))
Was this article helpful?