|
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 3,650. A value of 3,650 indicates permanent storage. |
1 |
| shardCount |
integer |
The number of shards in the Logstore. |
2 |
| enable_tracking |
boolean |
Specifies whether to enable WebTracking. The default value is false.
|
false |
| autoSplit |
boolean |
Specifies whether to enable auto split.
|
true |
| maxSplitShard |
integer |
The maximum number of shards that an auto split can create. Valid values: 1 to 64. |
6 |
| appendMeta |
boolean |
Specifies whether to include the client's public IP address in the log data. The default is false.
|
false |
| telemetryType |
string |
The type of log data. Valid values:
|
Metrics |
| createTime |
integer |
The creation time of the Logstore, specified as a UNIX timestamp (the number of seconds since January 1, 1970, 00:00:00 UTC). |
1453949705 |
| lastModifyTime |
integer |
The time the Logstore was last modified, specified as a UNIX timestamp (the number of seconds since January 1, 1970, 00:00:00 UTC). |
1524155379 |
| encrypt_conf | EncryptConf |
The data encryption configuration. |
|
| hot_ttl |
integer |
The number of days to retain data in the hot storage tier. The minimum value is 30. |
60 |
| infrequentAccessTTL |
integer |
The number of days to retain data in the infrequent access storage tier. |
30 |
| mode |
string |
Log Service provides two types of Logstores: Standard and Query.
|
standard |
| productType |
string |
The product type of the logs. |
aliyun |
| processorId |
string |
The IngestProcessor ID. |
|
| shardingPolicy | ShardingPolicy | ||
| resourceGroupId |
string |
||
| enableModify |
boolean |
该文章对您有帮助吗?