You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Monitoring
Delivering event monitoring information to TLS
Copy page
Download PDF
Delivering event monitoring information to TLS
This topic mainly describes how to deliver information about events triggered by instances under VolcanoEngine platform accounts to TLS. This helps you perform TLS-based analysis more conveniently.​
What is TLS​
Torch Log Service (TLS) is a one-stop, log data-targeted service provided by the VolcanoEngine platform. Its capabilities include log collection, massive storage, search and analysis, monitoring and alerts, and data visualization. Its applicable scenarios cover application O&M, service monitoring, and classified protection compliance for comprehensively enhancing R&D and O&M efficiency.​
Scenario​
When you have multiple ECS instances under your VolcanoEngine account, you can deliver information about events triggered during instance operations (such as a "SystemFailure.Redeploy" event) to TLS. This allows you to easily learn operations and conditions of each instance based on TLS features such as massive storage, search and analysis, and data visualization. Therefore, you can improve O&M and analysis efficiency.​
Prerequisites​
  • You have enabled TLS.​
Procedure​
Step 1: Create a log project​
Event information delivered to TLS is stored as logs, with tenant resources isolated and controlled based on log project. You can create log projects based on your needs. Typically, one log project is created based on a specific application, business, or product.​
tip​
To reduce network latency, create log projects in a region that is geographically close to your business.​
  1. Log in to the TLS console.​
  1. Select "Log Project Management" in the left navigation pane to enter the log project list page.​
  1. In the top menu bar, select a region close to your business.​
  1. Click the "Create project" button and follow the instructions to enter log topic-related information. For parameter details, see Creating log projects.​
  1. Click the "Confirm" button to complete the creation.​
Step 2: Create a log topic​
Log topic is classified as the unit for collecting, reading, and writing log data. Based on your needs, you can create multiple log topics under the same log project to differentiate events based on type, business, and other categories.​
  1. Log in to the TLS console.​
  1. Select "Log Project Management" in the left navigation pane to enter the log project list page.​
  1. Click the target log project name to enter the project details page.​
  1. Click the "Create topic" button and enter topic information as instructed. For parameter details, see Creating log topics.​
  1. Click "Confirm" to complete the creation.​
Step 3: Configure an index​
Before using TLS for search and analysis, you need to configure an index for the log topic.​
  1. Log in to the TLS console.​
  1. Select "Log Project Management" in the left navigation pane to enter the log project list page.​
  1. Click the target log project name to enter the project details page.​
  1. In the "Actions" column of the target log topic, click the "Index configuration" button to enter the index configuration page.​
  1. Configure as shown below.​
  1. Click the "Confirm" button, and in the confirmation pop-up window, click the "Confirm" button to complete the configuration.​
Step 4: Create an event rule​
To create an event delivery rule, you need to specify the event type to be delivered to TLS and the target log topic. When an instance under your account triggers an event of the specified type, Cloud Monitor automatically delivers the relevant information to TLS in real time.​
  1. Log in to the Cloud Monitor console.​
  1. In the left navigation pane, select "Event Center > Event Rule" to enter the Event Rule page.​
  1. Click the "Create event rule" button and follow the instructions to configure the event rule. For parameter details, see Creating event rules.​
warning​
Select "Delivery method > Delivery channel", check "log service", and then click the "Add a delivery topic" button. Next, select the region, project, and log project name of the log topic you created in steps 3 and 4.​
  1. Click the "Confirm" button to complete the rule creation.​
View results​
After an instance triggers the specified event, you can view the corresponding log information in the TLS console.​
tip​
For your ECS instances located in different regions under the same VolcanoEngine account, all of their log information of the triggered events is displayed in TLS.​
  1. Log in to the TLS console.​
  1. Select "Log Project Management" in the left navigation pane to enter the log project list page.​
  1. Click the name of the target log project to enter the log project page.​
  1. Select "Query and analysis" in the left navigation pane to enter the search and analysis page.​
  1. In the "Topic" column, select the name of the target log topic.​
The topic field is used to specify the data scope to be searched and analyzed. After you select a log topic, there is no need to specify a data scope via the from clause in the search and analysis statement.​
  1. Specify the time range​
The default time range is 5 minutes, and you can also customize the time range to be searched. When the specified time range exceeds the retention period of the log data, the expired and deleted data can not be retrieved.​
  1. Click the "Query and analysis" button to view relevant information.​
  • In the "Query results" area, basic information about the current log analysis is displayed, including the total number of logs and whether the query results are accurate. For more details, see Analyzing logs.​
  1. To query and analyze event monitoring logs, the following methods are also supported:​
  1. Enter the search and analysis statement in the input box, and analyze the result data statistics that meet the search criteria. For details, refer to Analysis overview.​
  1. Select the "chart analysis" tab to view analysis results. For details, see Viewing analysis charts.​
​
Last updated: 2026.06.18 17:49:51