Differences between External Store and Logstore

The Logstore stores logs and continuously receives incremental data.

The External Store stores static metadata associated with logs, and is called the external data source.  Log Service usually performs join query between logs and other related data.

Scenarios

  • Logstore and External Store perform join query and analysis.
  • Log Service writes the query and analysis results of Logstore to External Store.

Supported storage types

Currently, only RDS instances in the Virtual Private Cloud (VPC) environment in cn-beijing, cn-qingdao, and cn-hangzhou regions can be used as External Stores. To use RDS instances in other regions as External Stores, open a ticket.

Procedure

  1. Create an External Store and specify the corresponding metadata.
  2. When querying and analyzing logs, reference the External Store name to query and write logs.

For more information about creating, updating, and deleting External Stores, see External Store related APIs related APIs or Python SDK Python SDK.