检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
obs:bucket:GetBucketAcl obs:bucket:GetEncryptionConfiguration obs:bucket:HeadBucket dis:streams:list dis:streamPolicies:list lts:groups:get Query a specified log group None lts:transfers:put Modify a log transfer task obs:bucket:PutBucketAcl obs:bucket:GetBucketAcl obs:bucket:GetEncryptionConfiguration
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
log transfer task als addLogPailToOBS Modifying an OBS log transfer task als updateLogPailToOBS Deleting an OBS log transfer task als deleteLogPailToOBS Batch enabling and disabling log transfer tasks als batchActionLogPailToOBS Enabling log transfer transfer createLogTransfer Modifying
Appendix Status Codes Error Codes Obtaining the Account ID, Project ID, Enterprise Project ID, Log Group ID, and Log Stream ID 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
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, you can delete it to avoid further expenditures. Configure the Balance Alert function on the Billing Center > Overview page.
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.
However, if you transfer logs to OBS or DIS, you will be billed by OBS or DIS respectively. For details, see Product Pricing Details.
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
What Will Happen If I Have Enabled CTS But Have Not Configured a Correct Policy for the OBS Bucket? Why Is Log Transfer Abnormal on the Log Transfer Page?
For long-term storage, you can transfer logs to Object Storage Service (OBS). Log transfer is to replicate logs to the target cloud service. It means that, after log transfer, the original logs will still be retained in LTS until the configured retention period ends.
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.