检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
This section uses Elastic Cloud Server (ECS) text logs as an example to help you get started with LTS.
Ingesting ECS Text Logs to LTS Elastic Cloud Server (ECS) provides scalable, on-demand cloud servers to build secure, flexible, and efficient environment for your applications.
Ingesting ECS Logs to LTS Choose Log Ingestion > Ingestion Center in the navigation pane and click ECS (Elastic Cloud Server). The page for selecting a log stream is displayed. Select a log group from the drop-down list of Log Group, for example, lts-group-ECS.
Cloud Service: Select Elastic Cloud Server (ECS) and Bare Metal Server (BMS). Validity Period: Select Unlimited. Permissions: Select both LTS Administrator and APM Administrator. The authorization takes effect 15 to 30 minutes later. Scope: Select Region-specific projects.
Collection Method Install ICAgent and configure ECS text log ingestion by referring to Installing ICAgent (Intra-Region Hosts) and Ingesting ECS Text Logs to LTS. Then, ICAgent will collect ECS text logs and report them to LTS.
Choose Log Ingestion > Ingestion Center in the navigation pane and click ECS (Elastic Cloud Server). Set the collection path to /var/log/messages. For details, see Ingesting ECS Text Logs to LTS. Log in to the service ECS for verification.
Step 1: Purchasing a Load Balancer and an ECS as a Jump Server in Huawei Cloud CN East-Shanghai1 Log in to the ECS console and buy an ECS. Before installing ICAgent on a non-Huawei Cloud host, buy an ECS as a jump server from Huawei Cloud.
Log in to the ECS console, check the ECS list, and locate the ECS that you created as the jump server. Click its name to go to the ECS details page. Click the security group name to access the security group details page. Click the Inbound Rules tab and click Add Rule.
Log in to the ECS where ICAgent is installed. Run the cd /var/ICAgent command to go to the ICAgent log directory.
If a host with ICAgent installed is not displayed on the Hosts tab page on the LTS console, perform the following steps: If you are configuring ECS log ingestion and do not see the host with ICAgent installed on the Hosts tab page: On the Install ICAgent page, ensure that the installation
Step 1: Purchasing a Load Balancer and an ECS as a Jump Server in Huawei Cloud CN East-Shanghai1 Log in to the ECS console and buy an ECS. Before installing ICAgent on a non-Huawei Cloud host, buy an ECS as a jump server from Huawei Cloud.
Function Overview Function Overview ALL Log Tank Service Log groups Log streams Host management Host groups Ingesting ECS Text Logs to LTS Log transfer Log Tank Service Log Tank Service (LTS) collects log data from hosts and cloud services.
Collection Method Install ICAgent and configure ECS text log ingestion by referring to Installing ICAgent (Intra-Region Hosts) and Ingesting ECS Text Logs to LTS. Then, ICAgent will collect ECS text logs and report them to LTS.
You need to buy an Elastic Cloud Server (ECS) as a syslog aggregation server. Syslog comes preinstalled by default on Linux servers. However, Huawei Cloud ECSs do not receive remote syslog writes by default. You need to enable this function.
Collection Method Install ICAgent and configure ECS text log ingestion by referring to Installing ICAgent (Intra-Region Hosts) and Ingesting ECS Text Logs to LTS. Then, ICAgent will collect ECS text logs and report them to LTS.
Configure ECS log ingestion on the LTS console. For details, see Ingesting ECS Text Logs to LTS. Prepare for script execution. The following example is for reference only. Enter your actual information.
Collection Method Install ICAgent and configure ECS text log ingestion by referring to Installing ICAgent (Intra-Region Hosts) and Ingesting ECS Text Logs to LTS. Then, ICAgent will collect ECS text logs and report them to LTS.
ICAgent Deployment When you install ICAgent on an ECS, your AK/SK pair is required in the installation command. Before the installation, disable history collection in the ECS to protect your AK/SK pair. After the installation, ICAgent will encrypt your AK/SK pair and store it.
Serverless Real-Time Log Analysis This solution helps you collect, analyze, and archive ECS logs with a serverless architecture.
Cloud Service: Select Elastic Cloud Server (ECS) and Bare Metal Server (BMS). Validity Period: Select Unlimited. Permissions: Select both LTS Administrator and APM Administrator. The authorization takes effect 15 to 30 minutes later. Scope: Select Region-specific projects.