检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
CTS sends subscribed traces to your specified OBS bucket at least once. In some cases, CTS may send the same trace multiple times. As a result, you may receive duplicate traces.
Table 1 Parameters for configuring the transfer to OBS Parameter Description Transfer to OBS Select an existing OBS bucket or create one on this page and set File Prefix if Transfer to OBS is enabled. When Transfer to OBS is disabled, no operation is required.
Withdraw the changes on the OBS bucket. 400 CTS.0213 The OBS bucket used for trace transfer cannot be a tracked OBS bucket. The OBS bucket used for trace transfer cannot be a tracked OBS bucket.
lts:topics:list lts:topics:create lts:groups:list lts:groups:create obs:bucket:CreateBucket obs:bucket:HeadBucket obs:bucket:GetLifecycleConfiguration obs:bucket:PutLifecycleConfiguration obs:bucket:GetBucketAcl obs:bucket:PutBucketAclkms:cmk:list √ x Modifying a tracker PUT /v3/
To query operation records generated in the past seven days, store trace files in an OBS bucket or Log Tank Service (LTS) log stream. Ensure that you have enabled OBS and LTS and have full permissions for the OBS bucket and LTS log stream you are going to use.
operations on the OBS bucket. bucket_lifecycle String Duration that traces are stored in the OBS bucket.
Associated Services OBS: used to store trace files. You must select a standard OBS bucket because CTS needs to frequently access the OBS bucket that stores traces. Data Encryption Workshop (DEW): Provides keys that can be used to encrypt trace files. LTS: stores logs.
In addition, you can enable Object Storage Service (OBS) to store operation records to OBS buckets in real time for a longer period of storage. P-T P-T Trace A trace is a cloud resource operation record tracked and stored by CTS. It can be considered as an audit log.
In addition, you can enable Object Storage Service (OBS) to store operation records to OBS buckets in real time for a longer period of storage. P-T P-T Trace A trace is a cloud resource operation record tracked and stored by CTS. It can be considered as an audit log.
-- Transferring data to Object Storage Service (OBS) CTS 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.
bucket:CreateBucket obs:bucket:HeadBucket obs:bucket:GetLifecycleConfiguration obs:bucket:PutLifecycleConfiguration obs:bucket:GetBucketAcl obs:bucket:PutBucketAcl obs:bucket:ListAllMyBuckets kms:cmk:list kms:cmk:get eps:enterpriseProjects:list organizations:trustedServices:list
Constraints To store operation records for longer than seven days, you must configure transfer to OBS or LTS for trackers so that you can view them in OBS buckets or LTS log groups. Prerequisites You have enabled CTS and trackers are running properly.
You can view the records for the last 7 days on the console and also transfer them to OBS buckets for long-term storage.
In most cases, records can be merged into trace files and transferred to OBS buckets for long term storage. Trace file storage in OBS buckets generates fees and this function cannot work when your account is in arrears.
Data traces: record operations on data in OBS buckets, such as data upload and download. Trace Files A trace file is a collection of traces. CTS generates trace files based on services and transfer cycle and send these files to your specified OBS bucket in real time.
To store traces for a longer period, configure a tracker to transfer them to OBS or LTS. The tracker will then continuously transfer traces to your specified OBS bucket or LTS log stream for storage. CTS can have only one management tracker.
Constraints To store operation records for longer than seven days, you must configure transfer to OBS or LTS for trackers so that you can view them in OBS buckets or LTS log groups. Prerequisites You have enabled CTS and trackers are running properly.
Trace file encryption: After enabling trace transfer, you can use Data Encryption Workshop (DEW) to encrypt trace files stored in OBS buckets. Trace analysis: This function is provided by CTS and is free to use.
READ: read operations of an OBS object; WRITE: write operations of an OBS object.
To audit, query, and analyze traces in the future, you can configure an OBS bucket for storing these traces and encrypt them with DEW. When cloud resources change, CTS archives audit traces to OBS buckets. For details, see Configuring a Tracker.