Torch Log Service
Items | Description |
Items | Description |
Version limits |
|
Standard output collection limits |
|
Text log collection limits |
|
Parameters | Required | Example value | Description |
Parameters | Required | Example value | Description |
region | Yes | cn-beijing | The region ID where the project is located. |
endpoint | Yes | https://tls-cn-beijing.volces.com | TLS connection domain, i.e., the service address. After logging into TLS Console, you can view the connection domain name on the project details page. For details, see Service address. |
secret_id | Yes | AK******** | Access Key ID for the Volcengine account or IAM user. |
secret_key | Yes | TUdZ******** | Secret Access Key for the VolcanoEngine account or IAM user. |
label | Yes | http_module | Host identification of the LogCollector.
|
Parameters | Required | Example value | Description |
Parameters | Required | Example value | Description |
logcollector-data-dir | Yes | /var/lib/logcollector/docker-data | This directory stores LogCollector checkpoint data to ensure that LogCollector does not collect logs repeatedly after a container restarts. |
logcollector-config-dir | Yes | /usr/local/container/logcollector/etc | This is the directory where the configuration file logcollector.yaml is created. |
image | Yes | logcollector-cn-beijing.cr.volces.com/logcollector/logcollector:latest | LogCollector image address. |
Parameters | Example value | Description |
Parameters | Example value | Description |
Host group type | Host identification | Select the type of host group. Select Host identification. |
Host identification | http_module |
Collection type | Description | Create log collection configuration |
Collection type | Description | Create log collection configuration |
Container application logs | Application logs within the container are output to standard output (stdout) and standard error (stderr). | |
Container text logs | Logs written by applications in containers, Docker engine logs (daemon), Docker event logs (events), and container metadata logs. |
Basic information | Description |
Basic information | Description |
Container log collection | When collecting Docker container logs, select Enable. |
Collection type | Set the collection type for container logs and choose the type based on actual needs.
|
Universal rules for container collection | Specify the content to collect based on general container information, or exclude certain content from collection at the same time. If this parameter is not enabled, it means that all containers are included in the collection scope. |
K8s collection rule | This parameter is not required to configured when collecting Docker container logs. |