|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The data structure of a Logstore. |
||
| logstoreName |
string |
The name of the Logstore. |
my-logstore |
| ttl |
integer |
The data retention period in days. The valid range is 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 web tracking. The default value is false.
|
false |
| autoSplit |
boolean |
Specifies whether to automatically split shards.
|
true |
| maxSplitShard |
integer |
The maximum number of shards for an automatic split. The minimum value is 1 and the maximum value is 64. |
6 |
| appendMeta |
boolean |
Specifies whether to record public IP addresses. The default value is 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 that represents the number of seconds 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 that represents the number of seconds 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, in days. The minimum value is 30. |
60 |
| infrequentAccessTTL |
integer |
The retention period for the IA storage class. |
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 |
The IngestProcessor ID. |
|
| shardingPolicy | ShardingPolicy | ||
| resourceGroupId |
string |