Overview
This document describes the following best practices of Log Tank Service (LTS):
Category |
Best Practice |
Scenario |
---|---|---|
Log ingestion |
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 |
This practice describes how to use the syslog protocol to upload logs to LTS. You need to purchase 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. |
|
Log ingestion |
This practice describes how to use a custom Python script and ICAgent (LTS collector) to transfer logs from Elasticsearch to LTS. |
|
Log ingestion |
This practice describes how to collect logs using Flume and report logs using Kafka provided by LTS. |
|
Log ingestion |
This practice describes how to collect monitoring data from Zabbix to an LTS log stream. |
|
Log search and analysis |
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 |
This practice describes how to search for and analyze logs after Web Application Firewall (WAF) logs are ingested to and structured in LTS. |
|
Log search and analysis |
Analyzing Application Run Logs in Log4j Format on the LTS Console |
Log4j is Apache's open-source project used for logging. It enables you to output logs to log files, so that development or O&M personnel can calculate the number and proportion of logs at different levels, or gather statistics on services from run logs. |
Log search and analysis |
This practice describes how to use the federation proxy mechanism of Identity and Access Management (IAM) for custom identity broker and embed a login link to your systems so you can view LTS logs in your systems without logging in to the Huawei Cloud console. |
|
Log transfer |
This practice describes how to use Python scripts and LTS APIs to implement custom operations in a batch. |
|
Billing |
Collecting Statistics on LTS Expenses of Different Departments Based on Log Stream Tags |
This practice describes how to collect statistics on the LTS expenses of different departments in an enterprise. You can add tags to LTS log streams to distinguish business departments. LTS will add these tags to CDRs sent to the Billing Center. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot