Management
    • PDF

    Management

    • PDF

    Article Summary

    Available in Classic and VPC

    In Management, you can check the log collection status of various services used in NAVER Cloud Platform, and set or disable log collection. You can also set the daily report feature that enables you to receive major events and log collection status via email.

    Management Page

    The basic description of the Management menu for using Cloud Log Analytics is as follows:
    cla-use-management-screen_ko

    FieldDescription
    ① Menu nameName of the menu currently being viewed, number of services being viewed
    ② Basic featuresSet up daily report, confirm detailed information on Cloud Log Analytics, download a service list as an Excel file, refresh page
    ③ Services to be collectedServices from which logs can be collected via Cloud Log Analytics. It displays the list of services you have when clicked
    ④ Post-creation featuresServer log collection setting and disable collection
    ⑤ Search barEnter the service name or server's private IP and click i-cla-findto search
    ⑥ ListList and information of services you have

    View and Download Service List

    You can view a list of services available for log collection and their details through Cloud Log Analytics, as well as download the list as an Excel file.

    View Service List

    The following describes how to view a list of services available for log collection and their details through Cloud Log Analytics:

    1. From NAVER Cloud Platform console, click the Services > Management & Governance > Cloud Log Analytics menu, in that order.
    2. Click the Management menu.
    3. Click the tab for the service whose list you want to view.
    4. Check the summary from the service list, or click a server to check the details.
      • The information items for servers in the [Server(VPC)]/[Server], [Bare Metal Server(VPC)]/[Bare Metal Server], [Application Server Launcher] tab menus are as follows:
        • Server name: name of the server you have
        • Server image name: server image of the server you have
        • Status: operation status of the server
        • Private IP: private IP of the server
        • VPC(VPC)/Zone(Classic): VPC/Zone where server is located
        • Settings status: log collection settings
        • Details
          • OS(Classic): OS of the server
          • Creation date and time: creation date and time of the server
          • Running date and time: running date and time of the server
          • Log collection settings date and time: date and time log collection was set
          • Public IP: public IP of the server
          • Log collection agent version: version of the log collection agent installed on the server
          • Number of log collection types: number of log types set to be collected
          • Install key: install key used to install the log collection agent
      • For the description of other service information fields, refer to the guide of each service.

    Download Service List

    The following describes how to download the list of services available for log collection through Cloud Log Analytics as an Excel file:

    1. From NAVER Cloud Platform console, click the Services > Management & Governance > Cloud Log Analytics menu, in that order.
    2. Click the Management menu.
    3. Click the tab corresponding to the service whose list you want to download.
    4. Click the [Download] button.
      • An Excel file recorded with the service list and summary information is downloaded.

    Log Collection

    You can set log collection of servers in detail in NAVER Cloud Platform console. You can use various templates provided by default or manually set logs to collect.

    • Logs from the following services are automatically integrated and collected by Cloud Log Analytics without any configuration:
      • Database server logs from Cloud DB for MySQL, Cloud DB for MongoDB, Cloud DB for MSSQL, and Cloud DB for PostgreSQL
      • Logs from Search Engine Service (VPC) and Cloud Data Streaming Service
    • For log collection settings from the Ncloud Kubernetes Service (VPC), go to Ncloud Kubernetes Service (VPC), not Cloud Log Analytics. For more information, see Cluster Access and Management in the Ncloud Kubernetes Service (VPC) User Guide.

    The following describes how to collect logs of a server:
    1. Log Collection Settings in Console
    2. Install Log Collection Agent
    3. View Agent Process and Log Collection

    Note

    There are two ways to configure log collection for servers automatically created through auto scaling:

    • In Cloud Log Analytics, configure log collection of each server, then access each server to install the log collection agent
    • Use an image from a server whose log collection is configured in Cloud Log Analytics to create an auto scaling group
      • The logs configured for collection on the server from which the image was created are sent to Cloud Log Analytics to be used in the same manner.
      • In the Management page, the Settings status field of an automatically created server is displayed as Not set.

    For further details on auto scaling, see the Auto Scaling User Guide.

    1. Log Collection Settings in Console

    The following describes how to set the log data required for data collection from NAVER Cloud Platform console.

    1. From NAVER Cloud Platform console, click the Services > Management & Governance > Cloud Log Analytics menu, in that order.
    2. Click the Management menu.
    3. Click the tab for the service whose logs you want to collect.
    4. From the list of servers you have, click to select the server whose logs you want to collect, and click the [Set Collection] button.
    5. When the log collection settings pop-up window appears, select a log collection template from the Log Template drop-down menu.
      • To collect logs not provided via log templates, select Custom Log, enter the settings information, and then click the [Add] button.
        • Log type: enter the log type. You can search with the entered log type, and it is displayed on the dashboard.
        • Log path: enter the path and file name of the log file
        • Use symbolic link: if you select the checkbox, it is collected even if the Log path is a symbolic link
      • To delete the set log template, click the [Delete] button.
    6. Click the [Apply] button.
    7. When the guide pop-up window for installing the agent on the server appears, check the details and then click the [Close] button.
      • For more information about agent installation in server, see 2. Install Log Collection Agent.
      • Click the [Copy to Clipboard] button to copy the log collection agent installation command into the clipboard.
      • When setting the collection by selecting multiple servers with different OSes, note that the log collection agent installation command is different for each OS type.
    Note

    If the number of log types created by the custom log settings exceeds 20, it may affect the search and export features.

    2. Install Log Collection Agent

    To collect logs via Cloud Log Analytics, complete the Log Collection Settings in Console to install the log collection agent on the server. When you execute the log collection agent installation command, the log collection agent download, installation, preferences, agent execution, and data collection start automatically.

    The following describes how to install a log collection agent:

    1. Access the server you want to collect logs from.
      • Installation requires root permissions, so you need to work with a root account or an account with the sudo permission.
      • For more information about accessing servers, see either Server Access (VPC) or Server Access (Classic).
    2. Execute the log collection agent installation command you identified in step 7 of the 1. Log Collection Settings in Console.
      • When the agent installation and configuration are completed, the following message is displayed.
        ================= Finish Installation =================
        
      • An install key is included in the log collection agent installation command. This value must be entered accurately for the agent to be installed successfully.

    3. View Agent Process and Log Collection

    After completing log collection settings and log collection agent installation, you can check the agent execution status and log collection status. The following describes how to view the information according to the OS of the server.

    For Linux servers

    1. Access the server.

    2. Run the following command in the terminal program to check the agent process.

      ps -ef | grep filebeat
      

      cla-use-management-check-linux

    3. Check logs generated as you run the command in the terminal program.

      • <example> Executing the logger message_test command leaves a log in SYSLOG.
      • For more information about checking logs, see either Dashboard or Search.

    For Windows servers

    1. Access the server.

    2. Enter the following command in the Windows PowerShell to check the agent process.

      Get-Process -Name *beat*
      

      cla-use-management-check-windows

    3. Check logs generated as you install and run the agent.

      • Logs generated as you install and run the agent are classified as Windows event logs.
      • For more information about checking logs, see either Dashboard or Search.
    Note

    When logs are not collected, check if an error occurred while installing the agent, and proceed with Install Log Collection Agent again.

    Disable Log Collection

    The following describes how to disable log collection from a server:
    1. Disable Log Collection in Console
    2. Remove Log Collection Agent

    1. Disable Log Collection in Console

    The following describes how to disable log collection from NAVER Cloud Platform console.

    1. From NAVER Cloud Platform console, click the Services > Management & Governance > Cloud Log Analytics menu, in that order.
    2. Click the Management menu.
    3. Click the tab for the service whose log collection you want to disable.
    4. From the list of servers you have, click to select the server whose log collection you want to disable, and click the **[Disable collection]**button.
    5. When the Disable Log Collection pop-up window appears, check the information and click the [Apply] button.
    6. When the guide pop-up window for stopping the server's log collection appears, check the details and click the [Close] button.
      • If you do not delete log collection agent from the server, unnecessary internal traffic will occur even after disabling collection.
      • Click the [Copy to Clipboard] button to copy the log collection agent deletion command into the clipboard.
      • When disabling the collection by selecting multiple servers with different OSes, note that the command is different for each OS type.
        • For Linux servers and Bare Metal servers, the commands to disable collection are the same.

    2. Remove Log Collection Agent

    After completing Disable Log Collection in Console, you need to delete the log collection agent.

    The following describes how to delete a log collection agent.

    1. Access the server.
    2. Execute the log collection agent deletion command you identified in step 6 of the 1. Disable Log Collection in Console.
      • When the deletion of log collection agent is completed, the following message is displayed.
        • For Linux servers: Success Remove Agent
        • For Windows servers: Remove Agent

    Set Daily Report

    Cloud Log Analytics offers a daily report feature that allows you to receive a daily email update on the major events and log collection status of the current month, up to the previous day.

    The following describes how to set whether to receive daily reports.

    1. From NAVER Cloud Platform console, click the Services > Management & Governance > Cloud Log Analytics menu, in that order.
    2. Click the Management menu.
    3. Click the [Notification settings] button.
    4. Select the checkbox of the Receive Daily Report field to set whether to receive daily reports.
    5. From the Notification recipient group list, select the checkbox for the group you want to set whether to receive reports, and then click the [Apply] button.
      • To search for a specific notification group in the list, enter the name of the group and click the i-cla-find icon.
      • Clicking the [Manage notification recipient group] button directs you to the Notification Recipients page where you can manage notification recipients.
      • For more information on managing notification recipient groups, see either Cloud Insight (VPC) User Guide or Monitoring (Classic) User Guide.

    Was this article helpful?

    What's Next
    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.