LogStores are the basic units for storing and querying logs in the Log Service. Each LogStore stores a specific type of logs. Currently, you can add, delete, modify, and query LogStores on the Log Service Console or using APIs. After creating a LogStore, you can write logs into it through APIs or SDKs. The Log Service provides Logtail to collect logs on Alibaba Cloud ECS servers in an easy way.
Yes. Exercise caution for LogStore deletion.
The following three functions of the Log Service are related to the log storage period:
- LogHub: provides temporary storage for recent 48 hours to support real-time log consumption. Currently, the storage period cannot be modified.
- LogShipper: After logs are posted to OSS and MaxCompute, you can set a lifecycle in these products.
- LogSearch: supports storage periods of seven days, 30 days, and 90 days. The storage period is unchangeable once created. Because log indexes are hot data, select OSS or MaxCompute for a longer period of cold storage.
Currently, the Log Service supports RAM, allowing you to share data through subaccount authorization.