This topic describes how to connect SQL Audit to an SLS data source.
Prerequisites
- Ensure the current OCP user is an admin, organization administrator, or cluster administrator.
- Ensure network connectivity between the OCP Agent and SLS.
Procedure
Log in to OCP.
In the left navigation bar, click System Management > External Integration.
On the top page, under the SLS tab, click Create in the upper-right corner.
In the dialog box that appears, configure the following parameters.
ParameterDescriptionData Source Name 2 to 32 characters, can contain Chinese, English, numbers, and underscores. Domain The access domain name for the SLS service. AccessKey ID The access ID for the SLS service, used to identify the user. AccessKey Secret The key used to encrypt signature strings and for SLS to verify signature strings; must be kept confidential. Region The current private cloud region. Project The project name for the SLS service. Remarks Optional. Click Verify in the lower-right corner of the dialog box.
After verification passes, click Create.
Related operations
Verify SLS Data Source: In the Data Source Actions column, click Verify. If verification passes, Verified. will be displayed after the data source name.
Edit SLS Data Source: In the Data Source Actions column, select ... > Edit, modify the relevant information in the dialog box that appears, then click Save.
Delete SLS Data Source: In the Data Source Actions column, select ... > Delete, then click OK in the dialog box that appears.
