-
Print
-
PDF
Management
-
Print
-
PDF
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 basics of using Management menu for Cloud Log Analytics are as follows.
Area | Description |
---|---|
① Menu name | Name of the menu currently being viewed, number of services being viewed |
② Basic features | Set daily report, view Cloud Log Analytics details, download service list as Excel file, refresh page |
③ Services available for collection | Services whose logs can be collected through Cloud Log Analytics. It displays the list of services you have when clicked. |
④ Post-creation features | Set server log collection and Disable collection |
⑤ Search window | Search for the service by clicking ![]() |
⑥ List | List and information of services you have |
View and download service list
Through Cloud Log Analytics, you can view the list of services available for log collection and their details, as well as download the list as an Excel file.
View service list
The following describes how to view the list of services available for log collection and their details using Cloud Log Analytics.
- Click the Services > Management & Governance > Cloud Log Analytics menus from the NAVER Cloud Platform console, in that order.
- Click the Management menu.
- Click the tab for the service whose list you want to view.
- Check the summary from the service list, or click a server to check the details.
- Server information fields under the [Server (VPC)]/[Server], [Bare Metal Server (VPC)]/[Bare Metal Server], and [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 the 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.
- Server information fields under the [Server (VPC)]/[Server], [Bare Metal Server (VPC)]/[Bare Metal Server], and [Application Server Launcher] tab menus are as follows.
Download service list
The following describes how to download the list of services available for log collection as an Excel file using Cloud Log Analytics.
- Click the Services > Management & Governance > Cloud Log Analytics menus from the NAVER Cloud Platform console, in that order.
- Click the Management menu.
- Click the tab corresponding to the service whose list you want to download.
- Click the [Download] button.
- An Excel file recorded with the service list and summary information is downloaded.
Collect logs
You can set log collection of servers in detail in the NAVER Cloud Platform console. You can use various templates provided by default or manually set logs to collect.
- Logs of the following services are collected in linkage with Cloud Log Analytics even if you don't set log collection.
- DB server logs of Cloud DB for MySQL, Cloud DB for MongoDB, Cloud DB for MSSQL, and Cloud DB for PostgreSQL
- Search Engine Service (VPC) and Cloud Data Streaming Service logs
- The log collection of Kubernetes Service (VPC) is done in Kubernetes Service (VPC), instead of Cloud Log Analytics. For more information, refer to Access and manage cluster in the Kubernetes Service (VPC) guide.
The following describes how to collect logs of a server.
1. Set log collection in console
2. Install log collection agent
3. View agent process and log collection
There are two ways to collect server logs created automatically using Auto Scaling.
- Set log collection of each server in Cloud Log Analytics, and then access each server to Install log collection agent.
- Use an image of a server whose log collection is set to create an Auto Scaling group in Cloud Log Analytics.
- Logs set to be collected on the server where the image was created are sent to Cloud Log Analytics and can be used in the same way.
- In the Management page, the Settings status field of an automatically created server is displayed as Not set.
For more information about Auto Scaling, refer to the Auto Scaling Guide.
1. Set log collection in console
The following describes how to set the log data required for data collection from the NAVER Cloud Platform console.
- Click the Services > Management & Governance > Cloud Log Analytics menus from the NAVER Cloud Platform console, in that order.
- Click the Management menu.
- Click the tab for the service whose logs you want to collect.
- From the list of servers you have, click to select the server whose logs you want to collect, and click the [Set collection] button.
- When the Set log collection 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.
- Click the [Delete] button to delete the set log template.
- To collect logs not provided via log templates, select Custom log, enter the settings information, and then click the [Add] button.
- Click the [Apply] button.
- When the Guide to agent installation in server pop-up window appears, check the content, and click the [Close] button.
- For more information about agent installation in server, refer to 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.
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 through Cloud Log Analytics, you need to install the log collection agent on the server after you Set log collection in console. 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.
- 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, refer to Accessing server (VPC) or Accessing server (Classic).
- Execute the log collection agent installation command checked from Step 7 of 1. Set log collection in console on the server.
- 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.
- When the agent installation and configuration are completed, the following message is displayed.
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 a Linux server
- Access the server.
- For more information about accessing servers, refer to Accessing server (VPC) or Accessing server (Classic).
- Run the following command in the terminal program to check the agent process.
ps -ef | grep filebeat
- Check logs generated as you run the command in the terminal program.
For a Windows Server
- Access the server.
- For more information about accessing servers, refer to Accessing server (VPC) or Accessing server (Classic).
- Run the following command in Windows PowerShell to check the agent process.
Get-Process -Name *beat*
- Check logs generated as you install and run the agent.
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. Delete log collection agent
1. Disable log collection in console
The following describes how to disable log collection from the NAVER Cloud Platform console.
- Click the Services > Management & Governance > Cloud Log Analytics menus from the NAVER Cloud Platform console, in that order.
- Click the Management menu.
- Click the tab for the service whose log collection you want to disable.
- 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.
- When the Disable log collection pop-up window appears, check the information, and then click the [Apply] button.
- When the Guide to stop log collection from a server pop-up window appears, check the content, and click the [Close] button.
- If you don't 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.
- Linux servers and Bare Metal Servers share the same disable collection command.
2. Delete 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.
- Access the server.
- For more information about accessing servers, refer to Accessing server (VPC) or Accessing server (Classic).
- Execute the log collection agent deletion command checked from Step 6 of 1. Disable log collection in console on the server.
- When the deletion of log collection agent is completed, the following message is displayed.
- For a Linux server:
Success Remove Agent
- For a Windows Server:
Remove Agent
- For a Linux server:
- When the deletion of log collection agent is completed, the following message is displayed.
Set daily report
Cloud Log Analytics provides the daily report feature, which enables you to receive major events and log collection status of the current month up to the previous day via email every day.
The following describes how to set whether to receive daily reports.
- Click the Services > Management & Governance > Cloud Log Analytics menus from the NAVER Cloud Platform console, in that order.
- Click the Management menu.
- Click the [Notification settings] button.
- Select the checkbox of the Receive daily report field to set whether to receive daily reports.
- 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 the notification recipient group you're looking for from the list, enter the name of the notification recipient group, and then click
.
- Clicking the [Manage notification recipient group] button directs you to the Notification recipient page where you can manage notification recipients.
- For more information on managing notification recipient groups, refer to the Cloud Insight (VPC) Guide or Monitoring (Classic) Guide.
- To search for the notification recipient group you're looking for from the list, enter the name of the notification recipient group, and then click