MENU
      Install server log collection agent

        Install server log collection agent


        Article summary

        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

        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
          Shell
        • Windows server
          Invoke-Expression $((New-Object System.Net.WebClient).DownloadString("http://cm.vcla.ncloud.com/setUpwinClaVPC/{configKey}"))
          Shell

        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
          Shell
        • Windows server
          Invoke-Expression $((New-Object System.Net.WebClient).DownloadString("http://cm.cla.ncloud.com/setUpwinCla/{configKey}"))
          Shell

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.