This topic describes how to create an external store and associate Log Service with Object Storage Service (OSS).
Prerequisites
- A project and a Logstore are created. For more information, see Step 1: Create a project and a Logstore.
- Log data is collected. For more information, see Data collection.
- The indexing feature is enabled for the Logstore and indexes are configured. For more information, see Configure indexes.
- An OSS bucket is created. For more information, see Create buckets.
- CSV objects are uploaded to the OSS bucket. For more information, see Upload objects.
Benefits
- Lower storage cost
You can store infrequently updated data in OSS buckets. This reduces your storage cost. If you store the data in an ApsaraDB RDS for MySQL instance, you must pay for the instance.
- Lower traffic cost
You can store data in OSS buckets and read the data over the internal network.
Procedure
For more information about how to associate Log Service with OSS, see Perform an association query and analysis on Log Service logs and OSS tables.