检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Log Transfer Overview Transferring Logs to OBS Transferring Logs to DIS Transferring Logs to DMS Transferring Logs to DWS
The transfer to OBS function is available in all regions. However, other transfer destinations (DIS or DMS) are available only to whitelisted users. To enable these destinations, submit a service ticket. Transferring Logs to OBS Transferring Logs to DIS
Appendix Status Codes Error Codes Obtaining a Project ID Obtaining an Account ID Obtaining an Enterprise Project ID Obtaining Log Group and Log Stream IDs Time Zone List for OBS Transfer
Examples Example 1: Creating a Log Group Example 2: Querying All Log Groups of an Account Example 3: Creating a Log Stream Example 4: Querying All Log Streams in a Log Group Example 5: Transferring Logs to OBS
Table 1 Relationships between LTS and other services Service Relationship Related Feature Object Storage Service (OBS) You can transfer logs to OBS buckets for long-term storage, preventing log loss.
Transferring logs to OBS You can transfer logs to OBS for long-term storage. OBS supports encrypted data storage, allowing you to select an encrypted OBS bucket for storing sensitive data. For details, see Transferring Logs to OBS.
transfer task try: request = ListTransfersRequest() request.log_transfer_type = "OBS" response = client.list_transfers(request) obs_transfer_num = len(response.log_transfers) task_list = response.log_transfers print("#### get {} obs transfer task ####".format
Object Storage Service Logs transferred from LTS to OBS Importing Log Files from OBS to LTS (Beta) - WAF Web Application Firewall Attack logs Access logs Ingesting WAF Logs to LTS - Parent topic: Ingesting Cloud Service Logs to LTS
It uses LTS to collect ECS logs, FunctionGraph LTS trigger to obtain logs and analyze alarms in logs, Simple Message Notification (SMN) to push alarms to users, and Object Storage Service (OBS) to archive alarms.
If data stored in OBS is no longer used, delete it to avoid further expenditures. Configure the Balance Alert function on the Overview page in the Billing Center.
Example: transferring raw or JSON logs to Object Storage Service (OBS) Advanced transfer: This mode requires field mapping between the source log stream and the transfer destination. It consumes more computing power than basic transfer.
ModelArts Logs to LTS Ingesting MRS Logs to LTS Ingesting RDS for MySQL Logs to LTS Ingesting RDS for PostgreSQL Logs to LTS Ingesting RDS for SQL Server Logs to LTS Ingesting ROMA Connect Logs to LTS Ingesting SMN Logs to LTS Ingesting SecMaster Logs to LTS Importing Log Files from OBS
Long-term log storage in OBS: meets cyber security requirements.
Service integration: transfers logs to Object Storage Service (OBS)/Data Warehouse Service (DWS)/Data Ingestion Service (DIS)/Data Lake Insight (DLI)/Distributed Message Service (DMS) for building horizontal solutions. Figure 1 LTS service diagram
Importing data You can import log files from OBS buckets to LTS either on a one-time or scheduled basis. For details, see Importing Log Files from OBS to LTS (Beta). NOTE: Currently, this function is in closed beta test and cannot be applied for.
However, if you transfer logs to OBS or Data Ingestion Service (DIS), you will be billed by OBS or DIS respectively. For details, see Huawei Cloud Pricing.
Log transfer Transfer to OBS ☆☆☆☆☆ N/A ELK: cannot transfer logs to OBS directly. LTS: allows you to transfer logs to OBS with simple page configurations. Log transfer Transfer to Kafka ☆☆☆☆☆ ☆☆ ELK: requires you to deploy a program.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Table 1 Log transfer constraints Category Item Description Remarks Log transfer to OBS Transfer tasks for a log stream A log stream can have only one task for transferring logs to OBS.
{OBS domain name}:80 {Private IP address of the jump server} Log in to the jump server as user root and run the copied SSH tunneling command. Repeat the preceding steps to create multiple jump servers.