You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Manage LogCollector
LogCollector collection configuration management
Copy page
Download PDF
LogCollector collection configuration management
This topic describes common console management operations for LogCollector collection configuration, including modifying collection rules, changing the associated host group, and deleting collection configurations.​
Notice​
For detailed steps to create a LogCollector collection configuration, see Single-line full text mode.​
View collection configuration information​
After creating a collection configuration, you can view its basic information in the console.​
  1. Select the region where torch log service is located from the top navigation bar.​
  1. On the left navigation bar, select Common functions > Log collection.​
  1. in the LogCollector log collection tab under the Task list section, click the name of the collection configuration you want to view.​
  • In the search box, you can enter the project name or ID, log topic name or ID, or collection configuration name or ID to filter collection configurations.​
  1. View collection configuration details.​
  • The page displays the basic information, collection rule details, and host group information for the collection configuration.​
  • Basic information section: displays the collection configuration's name and ID, associated log topic name and ID, and the creation time of the collection configuration.​
  • Collection rules tab: displays detailed information about the collection rules, including collection path, mode, and other basic details, as well as advanced configurations such as filters.​
  • Host group information tab: displays the host group name and ID.​
Start or pause collection configuration​
After you create a collection configuration, it is enabled by default. You can start or pause it as you need.​
  1. Select the region where torch log service is located from the top navigation bar.​
  1. On the left navigation bar, select Common functions > Log collection.​
  1. First Then locate the specified ingestion configuration in the task list under the LogCollector tab. From the corresponding Actions column, click ... > Start, or click ... > Pause.​
  1. In the dialog box, click OK.​
Modify collection rule​
After you create a collection configuration, LogCollector will parse, collect, and store the logs from the specified directory in TLS according to the specified rule. If the log path, log type, or other parameters change, update your collection rules promptly in the console.​
Notice​
Modifying the project or log topic corresponding to the collection configuration is not supported.​
  1. Select the region where torch log service is located from the top navigation bar.​
  1. On the left navigation bar, select Common functions > Log collection.​
  1. and then in the task list section under the LogCollector log collection tab, click the name of the collection configuration you want to edit.​
  • In the search box, you can enter the project name or ID, log topic name or ID, or collection configuration name or ID to filter collection configurations.​
  1. To reset collection paths, modes, and other rule settings, click Modify collection rule in the upper right corner.​
  1. Click Save.​
Change the host group for the collection configuration​
Each collection configuration must be bound to a host group so it can be delivered to the servers in that group. These servers will collect log data according to the specified rules You need to specify a host group when creating a collection configuration. If the servers corresponding to a project or application change, you can adjust the log source by modifying the host group in the collection configuration.​
  1. Select the region where torch log service is located from the top navigation bar.​
  1. On the left navigation bar, select Common functions > Log collection.​
  1. and then in the task list section under the LogCollector log collectiontask list section under the LogCollector log collection tab, click the name of the collection configuration you want to edit.​
  • In the search box in upper right corner, you can enter the project name or ID, log topic name or ID, or collection configuration name or ID to filter collection configurations.​
  1. Click Associate host group in the upper right corner to reset the host group for the collection configuration.​
  1. Click Save.​
Import collection configuration​
TLS supports batch importing collection configurations to a specified log topic.​
  1. Select the region where torch log service is located from the top navigation bar.​
  1. On the left navigation bar, select Common functions > Log collection.​
  1. Then, under the LogCollector log collection tab, click Import collection configuration.​
  1. In the Collection rule import task panel, complete the following settings and then click Next step: execute the task.​
  • ​
    Parameters​
    Description​
    Source region​
    Select the region of the collection configuration to import.​
    Source project​
    Select the project that contains the collection configuration to be imported.​
    Source collection rule​
    Select the collection configurations to import. A maximum of 100 collection configurations can be imported at one time.​
    Collection rule settings​
    Configure the settings for the new collection configuration.​
    • New collection rule name: Set the name for the new collection configuration.​
    • Target log topic: Bind the imported collection configuration to the specified log topic.​
    • Rule settings: Bind a host group and set the collection path for the new collection configuration.​
    • Importing collection paths and host groups from the source collection configuration is not supported.​
    ​
  1. After confirming that the log topic import task is complete, click Complete.​
Delete collection configuration​
If you no longer need some certain collection rules due to business needs, you can delete the corresponding collection configuration directly.​
Warning​
  • Deleting collection configurations is irreversible. Proceed with caution.​
  • After you delete the collection configuration, the corresponding server will stop collecting and reporting log data according to the specified rules. However, data that has already been collected will not be deleted before it expires.​
  1. Select the region where torch log service is located from the top navigation bar.​
  1. On the left navigation bar, select Common functions > Log collection.​
  1. Then locate the specified collection configuration in the task list under the LogCollector tab. From the corresponding Actions column, click ... > Delete.​
  1. Confirm the collection configuration to be deleted in the dialog box, and then click Delete.​
​
Last updated: 2025.12.12 14:07:35