Enable Logging Applications through the UI
How to enable the logging stack through the UI for Workspace-level logging
You can enable the Workspace logging stack to all attached clusters within the Workspace through the UI. If you prefer to enable the logging stack with kubectl
, review how you create AppDeployments to Enable Workspace Logging.
To enable workspace-level logging in DKP using the UI, follow these steps:
From the top menu bar, select your target workspace.
Select Applications from the sidebar menu.
Traefik and cert-manager are required to be deployed for the logging stack. Ensure that Traefik is enabled in the Workspace, and cert-manager is enabled or already deployed to the cluster.
Scroll to the Logging applications section.
Select the three dot button from the bottom-right corner of the card for MinIO, and click Enable. On the Enable Workspace Platform Application page, you can add a customized configuration for settings that best fit your organization. You can leave the configuration settings unchanged to enable with default settings.
Select Enable at the top right of the page.
Repeat the process for the Grafana Loki, Logging Operator, and Grafana Logging applications.
You can verify the cluster logging stack installation by waiting until the cards have a Deployed checkmark on the Cluster Application page, or you can verify the Cluster Logging Stack installation via the CLI.
Then, you can view cluster log data.
We do not recommend installing Fluent Bit, which is responsible for collecting admin logs, unless you have configured the Grafana Loki Minio Tenant with sufficient storage space. Enabling admin logs via Fluent Bit may use around 2GB/day per node. See Release Notes 2.3.0 | Configuring-the-Grafana-Loki-Minio-Tenant for more details on how to configure the Minio Tenant.
Only for Attached GKE Clusters:
Create a ResourceQuota to enable log collection
At this point, log collection is not enabled for your attached GKE cluster. Create a ResourceQuota to enable log collection.