Updated on 2025-04-16 GMT+08:00

Overview

This document describes the following best practices of Log Tank Service (LTS):

Table 1 Best practice overview

Category

Best Practice

Scenario

Log ingestion

Collecting Host Logs from Third-Party Clouds, Internet Data Centers, and Other Huawei Cloud Regions to LTS

This practice describes how to collect Alibaba Cloud host logs to Huawei Cloud LTS. The method is similar to that of collecting logs from Internet Data Centers (IDCs) or across Huawei Cloud regions.

Log ingestion

Collecting Kubernetes Logs from Third-Party Clouds, IDCs, and Other Huawei Cloud Regions to LTS

This practice describes how to collect Alibaba Cloud Kubernetes logs to Huawei Cloud LTS. The method is similar to that of collecting logs from IDCs or across Huawei Cloud regions.

Log ingestion

Collecting Syslog Aggregation Server Logs to LTS

This practice describes how to use the syslog protocol to upload logs 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, ECSs do not receive remote syslog writes by default. You need to enable this function.

Log ingestion

Importing Logs of Self-built ELK to LTS

This practice describes how to use a custom Python script and ICAgent (LTS collector) to transfer logs from Elasticsearch to LTS.

Log ingestion

Collecting Zabbix Data Through ECS Log Ingestion

This practice describes how to collect monitoring data from Zabbix to an LTS log stream.

Log search and analysis

Analyzing Huawei Cloud ELB Logs on LTS

This practice describes how to search for and analyze logs after Elastic Load Balance (ELB) logs are ingested to and structured in LTS.

Log search and analysis

Analyzing Huawei Cloud WAF Logs on LTS

This practice describes how to search for and analyze logs after Web Application Firewall (WAF) logs are ingested to and structured in LTS.