Parameter | Type | Description | Example |
---|---|---|---|
object | The data structure of the Logstore. | ||
logstoreName | string | The name of the Logstore. | my-logstore |
ttl | integer | The log retention period. Unit: days. Valid values: 1 to 3650. If you set this parameter to 3650, logs are permanently stored. | 1 |
shardCount | integer | The number of shards. | 2 |
enable_tracking | boolean | Specifies whether to enable the web tracking feature. Default value: false. Valid values:
| false |
autoSplit | boolean | Specifies whether to enable automatic sharding. Valid values:
| true |
maxSplitShard | integer | The maximum number of shards into which existing shards can be automatically split. Valid values: 1 to 64. | 6 |
appendMeta | boolean | Specifies whether to record public IP addresses. Default value: false. Valid values:
| false |
telemetryType | string | The type of the data that you want to query. Valid values:
| Metrics |
createTime | integer | The time at which the Logstore was created. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. | 1453949705 |
lastModifyTime | integer | The time at which the Logstore was last modified. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. | 1524155379 |
encrypt_conf | EncryptConf | The configuration of data encryption. | |
hot_ttl | integer | The retention period of data in the hot storage tier of the Logstore. Minimum value: 30. Unit: days. | 60 |
infrequentAccessTTL | integer | The retention period of data in the Infrequent Access (IA) storage tier of the Logstore. | 30 |
mode | string | The type of the Logstore. Simple Log Service provides two types of Logstores: Standard Logstores and Query Logstores. Valid values:
| standard |
productType | string | The type of the service to which the logs belong. | aliyun |
processorId | string | The ingest processor ID. |