tencent cloud

Configuring Log
마지막 업데이트 시간:2024-01-23 15:44:44
Configuring Log
마지막 업데이트 시간: 2024-01-23 15:44:44

Log collection

1. On the Log Analysis page, click Log configuration > Log collection at the top.


2. On the Log collection tab, toggle on or off the Enabled switch to enable or disable the collection of container bash logs, container startup audit logs, and Kubernetes API audit logs.


3. On the Log collection tab, click Edit in the Accessed assets column to configure the node scope for log collection. Select the servers for log collection and click Submit.



Log cleanup

1. On the Log Analysis page, select Log configuration > Log cleanup at the top.


2. On the Log cleanup tab, clear logs by percentage or storage period.
Clear logs by percentage: When the log storage volume reaches the configured percentage, historical logs are cleared until the configured percentage.
Clear logs by storage period: When the log storage period reaches the configured value, historical logs are cleared, and only those within the configured storage period are retained.
Note:
The two cleanup methods take effect at the same time, which means log cleanup starts when either of the two conditions is met.


문제 해결에 도움이 되었나요?
더 자세한 내용은 문의하기 또는 티켓 제출 을 통해 문의할 수 있습니다.
아니오

피드백