Torch Log Service
Category | Description |
Category | Description |
Data security | For data security, the database account used to access MySQL for TLS should be granted only the minimum necessary permissions. TLS only requires SELECT and INSERT permissions. No other permissions are required. We recommend assigning a dedicated database account for joint queries and keeping account details secure. |
MySQL database connection address | When building a MySQL database in Volcanoengine ECS, set the connection address to 0.0.0.0 to allow all servers to access the MySQL database. Then use ECS security groups to manage access permissions and enhance database security. |
MySQL database user | By default, the root user of the MySQL database can only log in to local device. Therefore, you need to create a new user for remote access or enable remote access for the root user. |
MySQL database allowlist | The allowlist is a database security measure. Only IP addresses on the allowlist can access the database. Before associating with MySQL data source, you need to configure the allowlist on the MySQL data source side to allow TLS-related IP addresses to access it. For more details, see 1 Configure allowlist. |
Items | Description |
Items | Description |
External data source | MySQL data sources support Cloud database MySQL on Volcanoengine, as well as self-built MySQL databases on Volcanoengine ECS. Plus, Cloud Database MySQL instances or ECS instances should be in the same region as the TLS log project. |
MySQL version | Supported MySQL versions include 5.7 and 8.0. |
MySQL table size | It is recommended that the amount of data in MySQL tables used for join queries be less than 20 MiB. Large datasets and complex SQL queries from TLS may impact database stability. |
External data source quota | You can create up to 50 external data sources under each project. |
Data source | IP address | Description |
Data source | IP address | Description |
Volcanoengine Cloud database MySQL |
| |
Self-built MySQL database in Volcengine ECS |
| If ECS has a security group configured, you should add a rule to allow access from the specified IP range. For detailed steps, refer to Modify security group access rules. |
Configuration | Description |
Configuration | Description |
Data source name | External data source name. The following requirements must be met:
|
Type | Type of external data source. Only supports configuring MySQL, i.e., data source. |
Database type | The type of database. In this case, self-built database is used as an example, i.e., the MySQL database set up on Volcanoengine ECS. |
Connection address | ECS private IP address |
Port | Port number bound to the MySQL service. |
VPCId | VPC ID where the ECS instance is located. |
Database username | MySQL database username. |
Database password | MySQL database user password. |
Database | MySQL database name. |
Database table | Name of the MySQL database table. |
Configuration | Description |
Configuration | Description |
Data source name | External data source name. The following requirements must be met:
|
Type | Type of external data source. Only supports configuring MySQL, i.e., data source. |
Database type | The type of database. This example uses VolcEngine RDS for MySQL. That is, VolcEngine Cloud Database MySQL. |
Select region | The region where the Cloud database MySQL instance is located. It should match the region of the current project. |
Select AZ | Instance availability zone of Cloud database MySQL . |
Select instance | Instance name of Cloud database MySQL . |
Connection address | Cloud database MySQL instance private network address. |
Port | Cloud database MySQL instance private network port number. The corresponding port number will be automatically filled when the connection address is specified. |
VPCId | The instance's VPC of Cloud database MySQL . The corresponding VPC is automatically filled in when you specify the instance. |
Database username | The instance's database username of Cloud database MySQL . |
Database password | The instance's database user password of Cloud database MySQL . |
Database | The instance's database name of Cloud database MySQL . |
Database table | The instance's database table name of Cloud database MySQL . |
Related operations | Description |
Related operations | Description |
View external data sources | You can view all associated external data sources under the current log topic in the External data sources tab on the project details page. Click the data source name to view its details. |
Edit external data source settings | To modify the settings for the selected external data source, click Edit in the Actions column of the External data sources list. Modifying the type or database type of a data source is not supported. |
View data source connection status | You can check the connection status in the Connection status column of the External data sources list. If the connection fails, you can update the settings and click Retry. |
Delete external data source | If you no longer need a data source, you can click Delete in the action column of External data sources list. |
External data source joint analysis | During query and analysis, use the JOIN clause to combine log topics with MySQL databases for joint queries and analysis. You can also save the query results to a MySQL database. For details, see MySQL join query and analysis. |