Parameter | Type | Example value | Description |
TopicName | String | test-project | Log topic name |
ProjectId | String | f********** | ID of the project to which the log topic belongs. |
TopicId | String | faf********** | Log topic ID. |
Ttl | Integer | 3650 | Total retention period of logs in TLS. Expired logs in this topic will be automatically deleted after the specified log storage period. Unit: days. The default is 30 days. The valid range is 1 to 3650. Setting the value to 3650 days means permanent storage. tip After you set EnableHotTtl to true, the Ttl period must match the total value of HotTtl, ColdTtl, and ArchiveTtl. |
CreateTime | String | 2021-08-19 11:41:29 | Log topic creation time. |
ModifyTime | String | 2021-08-19 11:41:32 | Log topic modification time. |
ShardCount | Integer | 2 | Number of log topic shards. |
Description | String | This is a test topic | Description of the log topic. |
AutoSplit | Boolean | true | Automatic sharding can be enabled or disabled.
|
MaxSplitShard | Integer | 50 | Maximum number of shard splits. |
EnableTracking | Boolean | false | Whether the WebTracking feature is enabled.
|
Tags | [{"Key":"key1", "Value":"value1"}] | Log topic tag information. Tags identify and classify cloud resources. You can categorize log projects and topics by tags to facilitate resource search and aggregation. For details, see Tag Management. | |
LogPublicIP | Boolean | false | Indicates whether logging of external IP addresses is enabled.
|
EnableHotTtl | Boolean | true | Enable tiered storage. When enabled, TLS supports standard storage, infrequent access storage, and archive storage. After you set HotTtl, ArchiveTtl, and ColdTtl, if data is stored longer than the corresponding duration, it automatically shifts to infrequent access or archive storage for further retention until the total log retention period (Ttl) on the server is reached and is then cleaned up by backend services. tip
|
HotTtl | Integer | 7 | Standard storage duration. The default duration is 30 days, and can be set from 7 to 3650 days. This parameter is only effective when EnableHotTtl is set to true. |
ColdTtl | Integer | 10 | Low-frequency storage duration The valid range for this duration is 1~3650 Low-frequency storage is available when the standard storage period is seven days or longer This parameter only takes effect when EnableHotTtl is set to true |
ArchiveTtl | Integer | 10 | Archive storage period. The valid range is 60–3650. Archive storage is enabled when any of the following conditions are met.
This parameter takes effect only when EnableHotTtl is set to true. |