Cloud Box supports cluster log collection for data archiving and analysis. This topic describes how to enable an audit trail in the console.
Billing
When you enable an audit trail, log data is stored in Log Service (SLS) on the public cloud and incurs additional charges. For more information about billing, see Billing overview.
Usage notes
In the Cloud Box console, you can enable audit trails only for the traffic manifest and release change types. For more information, see Audit overview.
By default, log data is retained for 90 days after you enable an audit trail. You can adjust this period. To do so, see Manage a Logstore.
Prerequisites
You have activated Log Service (SLS). For more information, see Storage resource hierarchy.
Procedure
Go to the Cloud Box List tab on the Cloud Box page.
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select a region.
Click the Cloud Boxes tab.
Find the target Cloud Box and click its Cloud Box ID to open the details page.
On the Cloud Box details page, click the tab.
For a specific Trail type, click the toggle switch in the Trail status column.
When the trail status is
, the cluster log collection feature is enabled.ImportantWhen you enable or disable the audit trail feature, this setting is automatically synchronized across all your Cloud Box instances.

(Optional) In the Retention period column, click the
icon to open the Log Service (SLS) console, where you can adjust the retention period and view log details.For more information, see Modify a Logstore configuration.

Related documents
You can perform the following operations in the Log Service (SLS) console:
Query logs: Search for specific information in your logs.
Analyze logs: Analyze log data to identify patterns and trends.
Download logs: Download logs for offline analysis or archiving.
For more information, see Query and Analyze.