检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
OBS Data Source Configuration OBS Bucket Select the OBS bucket from which log files are imported to LTS. Folder Prefix Enter the prefix (your_prefix/) or the full path (your_prefix/file.gz) of the OBS files to be imported for better locating.
Other Involved APIs Call the following API to obtain the name of the OBS bucket to which logs will be transferred: Listing Buckets Transferring Logs to OBS URI format POST /v2/{project_id}/log-dump/obs Example Request POST https://{endpoint}/v2/{project_id}/log-dump/obs Obtain the
Log Transfer Does LTS Delete Logs That Have Been Transferred to OBS Buckets? What Are the Common Causes of LTS Log Transfer Abnormalities? How Do I Transfer CTS Logs to an OBS Bucket?
What Do I Do If I Cannot View Historical Data in an OBS Bucket After Transferring Data from LTS to OBS? This occurs because LTS only transfers logs generated after you configure the transfer task to OBS buckets.
Time Zone List for OBS Transfer Name ID Offset International Date Line West Etc/GMT+12 UTC-12:00 Coordinated Universal Time-11 Etc/GMT+11 UTC-11:00 Aleutian Islands America/Adak UTC-10:00 Hawaii Pacific/Honolulu UTC-10:00 Marquesas Islands Pacific/Marquesas UTC-09:30 Alaska America
If no OBS buckets are available, click View OBS Bucket to access the OBS console and create an OBS bucket.
To view transferred log files, click the name of the corresponding OBS bucket on the Log Transfer page of the LTS console, and you will be directed to the OBS console to check the files.
Specify other parameters and click OK to transfer CTS logs to the selected OBS bucket. View the transferred CTS logs in the specified OBS bucket on the OBS console. Parent topic: Log Transfer
Log Transfer Does LTS Delete Logs That Have Been Transferred to OBS Buckets? What Are the Common Causes of LTS Log Transfer Abnormalities? How Do I Transfer CTS Logs to an OBS Bucket?
Enumeration values: min hour obs_bucket_name Yes String OBS bucket name. This parameter is required when you create an OBS transfer task. Minimum: 3 Maximum: 63 obs_encrypted_id No String KMS key ID for an OBS transfer task.
POST /v2/{project_id}/log-dump/obs lts:transfers:create obs:bucket:CreateBucket obs:bucket:HeadBucket obs:bucket:GetLifecycleConfiguration obs:bucket:PutLifecycleConfiguration obs:bucket:GetBucketAcl obs:bucket:PutBucketAcl √ x Disabling log collection beyond free quota POST /v2/
Creating a Log Transfer Task (Old Version) Function This API is used to transfer logs of one or more specified log streams to Object Storage Service (OBS). Calling Method For details, see Calling APIs.
Table 1 Transfer destination services Service Scenario OBS OBS provides mass, secure, and cost-effective data storage for you to store data of any type and size.
Commercial use Transferring Logs to OBS 3 Transfer to encrypted OBS buckets You can transfer logs to an encrypted OBS bucket. Commercial use Transferring Logs to OBS July 2021 No.
If a log transfer task is in the abnormal state on the Log Transfer page of the LTS console: Possible cause: The OBS bucket policy is incorrect. Solution: Go to the OBS console to correct the settings. For details, see Configuring a Bucket Policy.
/ Transferring logs to OBS LTS can transfer logs to OBS, so you can store logs for a longer period of time at a lower cost. You can use encrypted OBS buckets to protect data. Transferring Logs to OBS Parent topic: Security
Minimum: 1 Maximum: 64 obs_time_zone String Time zone for an OBS transfer task. For details, see Time Zone List for OBS Transfer. If this parameter is specified, obs_time_zone_id must also be specified. obs_time_zone_id String ID of the time zone for an OBS transfer task.
CTS You can transfer logs to Object Storage Service (OBS) buckets for long-term storage, preventing log loss. OBS You can transfer logs to Data Ingestion Service (DIS) for long-term storage.
You can transfer logs to OBS, DIS, and DMS. Enumeration values: OBS DIS DMS log_group_name No String Log group name. Minimum: 1 Maximum: 64 log_stream_name No String Log stream name.
Enumeration values: min hour obs_bucket_name Yes String OBS bucket name. This parameter is required when you create an OBS transfer task. Minimum: 3 Maximum: 63 obs_encrypted_id No String KMS key ID for an OBS transfer task.