Log Overview
Log center is a log collection solution in Kubernetes cluster provided by CCE based on Baidu AI Cloud Baidu Log Service (BLS). It can push log information from services or node path files within the cluster to BLS for persistent storage and log query analysis. When cluster fails, you can also view historical log information from Baidu AI Cloud Log Service (BLS) for troubleshooting.
Description
- The logging function of the container service is implemented based on Baidu AI Cloud Log Service (BLS) product. For detailed information about Baidu AI Cloud Log Service (BLS), refer to What is Baidu AI Cloud Log Service (BLS).
- Using functions of Baidu AI Cloud Log Service (BLS) will incur related fees. For detailed billing instructions, please refer to Baidu AI Cloud Log Service (BLS) Billing.
- When collecting container logs, the system automatically creates logstore. This operation may exceed the logstore quota of the Baidu AI Cloud Log Service (BLS) during use. Currently, the Baidu AI Cloud Log Service (BLS) allows a maximum of 50 logstores per accountID. To request more, submit a ticket.
Log type
Cloud Container Engine (CCE) supports log collection from multiple resources, including control plane component logs, service logs, and component logs. This allows users to collect and query logs, enabling them to monitor the operational status of basic resources, critical components, and applications within the cluster, as well as troubleshoot issues. Supported collection objects are detailed in the table below.
| Collection object | Description |
|---|---|
| Control plane component logs | Control plane component logs primarily document the logs of key components within the control plane of the CCE cluster, assisting users in monitoring control plane activities and records. These include: kube-apiserver, kube-scheduler, and kube-controller-manager. |
| Service logs | Set up log collection rules in the Cloud Container Engine (CCE) console by specifying which containers in the cluster require log collection. This facilitates the collection, storage, and analysis of service logs. |
| Component logs | Enable the collection of log information from components such as CoreDNS. The system captures stdout logs from CoreDNS components and transfers them to Baidu AI Cloud Log Service (BLS) for storage and retrieval. |
Log collection process
Install the necessary components for collecting container logs and configure the collection rules on the CCE console. At this point, the collection rules will synchronously generate transmission tasks on the Baidu AI Cloud Log Service (BLS) console, and the Baidu AI Cloud Log Service (BLS) will finally collect container logs.

