CloudLens for PolarDB allows you to enable data collection for the audit logs, slow query logs, error logs, and metrics of PolarDB for MySQL clusters with a few clicks. This topic describes how to enable data collection in CloudLens for PolarDB. This topic also describes the operations that you can perform after you enable data collection.
Prerequisites
Initially configure CloudLens for PolarDB
Enable data collection
What to do next
After you enable CloudLens for PolarDB, you can perform the following operations on the Access Management page.
Operation | Description |
---|---|
Manage PolarDB for MySQL clusters | After you enable CloudLens for PolarDB, CloudLens for PolarDB displays all PolarDB
for MySQL clusters within your Alibaba Cloud account.
Click a PolarDB for MySQL cluster to go to the Apsara PolarDB console. You can view the details about the cluster. You can also perform other operations. For example, you can log on to a database or migrate a database. For more information, see Function List. |
Disable data collection | Find a PolarDB for MySQL cluster and click Disable to disable data collection.
Notice If you disable data collection for audit logs, the SQL Explorer feature is not automatically
disabled. If you no longer need to collect the audit logs of a PolarDB for MySQL cluster,
you can disable the SQL Explorer feature in the Apsara PolarDB console. For more information,
see Disable the SQL Explorer feature.
|
Query and analyze data |
|
Modify data retention periods | On the Destination Logstore tab, find a Logstore or a Metricstore and click the ![]() |