Volcengine Kubernetes Engine
Parameters | Description |
Parameters | Description |
Configuration basic information | |
Regular alias | Specify a name for the collection rule. Click Import other collection configurations to import other created collection configurations. |
Container log collection | Select Enable to enable container log collection. |
Acquisition type | Select the container log collection type. K8s container standard output and K8s container text log are supported. In this example, select K8s container standard output. |
Collection information | Select container log collection information. Valid values: Standard output - stdout and Standard error - stderr. |
Common container collection rule | Specify the log collection target and content by using the general information of the container. For specific parameter descriptions, see Collecting container standard output. tip If you do not specify a general container collection rule, logs from all containers in the cluster will be collected. |
K8s collection rules | Specify the log collection target and content by using Kubernetes container information. For specific parameter descriptions, see Collecting container standard output. Description If you do not specify a Kubernetes collection rule, logs from all containers in the cluster will be collected. |
Configure Log Format | |
Collection mode | Select a log file parsing mode. You can select an appropriate collection mode based on your business scenarios and configure a log parsing rule in the specified mode. For details of different modes, see the following topics: |
Parameter | Description |
Parameter | Description |
Configuration basic information | |
Regular alias | Specify a name for the collection rule. Click Import other collection configurations to import other created collection configurations. |
Container log collection | Select Enable to enable container log collection. |
Acquisition type | Select the container log collection type. K8s container standard output and K8s container text log are supported. In this example, select K8s container text log. |
Common container collection rule | Specify the log collection target and content by using the general information of the container. For specific parameter descriptions, see Collecting container text logs. tip If you do not specify a general container collection rule, logs from all containers in the cluster will be collected. |
K8s collection rules | Specify the log collection target and content by using Kubernetes container information. For specific parameter descriptions, see Collecting container text logs. Description If you do not specify a Kubernetes collection rule, logs from all containers in the cluster will be collected. |
Acquisition path | Specify the log path in the target container, such as /user/tomcat/*.log. |
Configure Log Format | |
Collection mode | Select a log file parsing mode. You can select an appropriate collection mode based on your business scenarios and configure a log parsing rule in the specified mode. For descriptions and details of different modes, see the following topics: |
Collection rule | Configuration description |
Collection rule | Configuration description |
Common container collection rule |
|
K8s collection rules |
|
Actions | Description |
Actions | Description |
Edit | Update an existing log collection rule. |
Delete | Delete an existing log collection rule. warning
|