Parameter | Type | Example value | Description |
Total | Integer | 2 | Number of log topics. |
Topics | / | Log topic list. |
Parameter | Type | Example value | Description |
Ttl | Integer | 3650 | The total retention period of logs in TLS. When the log storage period exceeds the specified duration, expired logs in this topic are automatically deleted. The unit is days, and the default value is 30 days. The value ranges from 1 to 3650. If set to 3650 days, logs are stored permanently. tip When EnableHotTtl is set to true, the Ttl duration must be equal to the sum of HotTtl, ColdTtl, and ArchiveTtl. |
Tags | [{"Key":"key1","Value":"value1"}] | Log project label information. Tags identify and classify cloud resources. You can categorize projects and topics by tags to facilitate resource search and aggregation. For more details, see Tag Management. | |
HotTtl | Integer | 30 | Standard storage duration. The default duration is 30 days, and the value ranges from 7 to 3650. This parameter only takes effect when EnableHotTtl is set to true. |
TopicId | String | faf6d529-e75e-457f-a23a-9c4203a6dff3 | Log topic ID. |
AutoSplit | Boolean | true | Automatic sharding can be enabled or disabled. After enabling, if the data volume exceeds the existing shard capacity for 5 consecutive minutes, TLS will automatically split the shards based on data volume to meet business needs. However, the total number of shards after splitting cannot exceed the maximum allowed split count. New shards created within the last 15 minutes will not split automatically.
|
ProjectId | String | f********** | The log topic's project ID |
TopicName | String | test-project | Log topic name. |
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. |
LogPublicIP | Boolean | false | Is the public IP address logging feature enabled?
|
EnableHotTtl | Boolean | true | Enable tiered storage. After enabling this feature, TLS supports standard storage, infrequent access storage, and archive storage. When HotTtl, ArchiveTtl, and ColdTtl are set, data is automatically transitioned to infrequent access or archive storage for continued retention once its storage duration exceeds the specified time. Data remains until the total retention period set by Ttl is reached, after which backend services automatically delete it. tip The Ttl duration must equal the sum of HotTtl, ColdTtl, and ArchiveTtl. |
MaxSplitShard | Integer | 50 | Maximum number of shard splits, i.e., the maximum number of shards after splitting. |
EnableTracking | Boolean | false | WebTracking can be enabled or disabled. If enabled, you can quickly collect frontend tracking data through it.
|
ColdTtl | Integer | 30 | Duration of infrequent access storage. The valid range is 1–3650. Infrequent access storage is available for standard storage periods of 7 days or longer. This parameter takes effect only when EnableHotTtl is set to true. |
ArchiveTtl | Integer | 60 | Archive storage duration. The duration range is 60 to 3650. Archive storage can be enabled when any of the following conditions are met.
This parameter is only effective when EnableHotTtl is set to true |