Install Log Agent
If you install the log agent, you can check the collected container logs and audit logs on the cocktail dashboard.
1. Distribution Addon
1) Infrastructure - Cluster - Addon List - Click the "Deploy" button and click the "Deploy" button for 'cocktail-log-agent' in the list.

2) Check the settings according to your environment and click the Deploy button to deploy the Addon.

Enable Container log collecting
: Whether to collect container logs
Enable Audit log collecting
: Whether to collect cluster audit logs

audit-log hostPath path
: If it is not a cluster installed with 'cube', you will need to change the path.
includeNamespace
: List of collection processing namespaces
If you are collecting container logs for a specific namespace, uncomment and use below.
Last updated
Was this helpful?