|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The Logstore data structure. |
||
| logstoreName |
string |
The name of the Logstore. |
my-logstore |
| ttl |
integer |
The data retention period, in days. Valid values: 1 to 3650. A value of 3650 indicates permanent retention. |
1 |
| shardCount |
integer |
The number of shards. |
2 |
| enable_tracking |
boolean |
Specifies whether to enable the WebTracking feature. Default value: false.
|
false |
| autoSplit |
boolean |
Specifies whether to enable automatic sharding.
|
true |
| maxSplitShard |
integer |
The maximum number of shards for automatic sharding. Minimum value: 1. Maximum value: 64. |
6 |
| appendMeta |
boolean |
Specifies whether to record public IP addresses. Default value: false.
|
false |
| telemetryType |
string |
The log type to query. Valid values:
|
Metrics |
| createTime |
integer |
The time when the Logstore was created. The value is a UNIX timestamp representing the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970. |
1453949705 |
| lastModifyTime |
integer |
The time when the Logstore was last updated. The value is a UNIX timestamp representing the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970. |
1524155379 |
| encrypt_conf | EncryptConf |
The data encryption configuration. |
|
| hot_ttl |
integer |
The retention period of data in the hot tier of the Logstore. Minimum value: 30. Unit: days. |
60 |
| infrequentAccessTTL |
integer |
The retention period of data in the infrequent access (IA) tier. |
30 |
| mode |
string |
Simple Log Service provides two types of Logstores: Standard and Query.
|
standard |
| productType |
string |
The product type to which the logs belong. |
aliyun |
| processorId |
string |
IngestProcessor ID |
ingest-processor-1756802123-953901 |
| shardingPolicy | ShardingPolicy |
The hash-based write configuration. |
|
| resourceGroupId |
string |
The resource group. |
rg-acf******sq |
| enableModify |
boolean |
Specifies whether to enable the log modification and deletion feature. |
true |
logstore
Updated at:
Is this page helpful?