From e5a0cb65ad236337f7c29dc60829940815831962 Mon Sep 17 00:00:00 2001 From: xxl007 Date: Thu, 6 Feb 2025 13:12:01 +0100 Subject: [PATCH 1/4] Update monitor-data-plane-with-cockpit.mdx Updated to section #visualizing-logs-in-cockpit to add mentions Node logs --- .../how-to/monitor-data-plane-with-cockpit.mdx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx index 8efe969b56..ffb0d756e3 100644 --- a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx +++ b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx @@ -109,13 +109,19 @@ Once Promtail is running: 1. Go to the **Cockpit** section of the Scaleway console, then click **Open dashboards**. 2. Log into Grafana using your [Cockpit credentials](/cockpit/how-to/retrieve-grafana-credentials/). -3. In Grafana's menu, go to dashboards and select **Kubernetes Cluster Pod Log**. -4. **Filter** by: +3. In Grafana's menu, go to dashboards and select **Kubernetes Cluster Pod Logs** to view logs collected from pods in your clusters. +4. **Filter pod logs** by: - `Datasource` which is automatically created upon deployment, and visible in the Cockpit console - `Cluster Name` ( e.g. `my-kapsule-cluster`) - `namespace`, `pod`, or `container` labels to isolate specific workloads - **Time range** to limit how far back in history you want to query -5. **Analyze** logs in real-time or historical mode to troubleshoot issues, watch for errors, or track performance. +5. Alternatively, in Grafana's menu, go to dashboards and select **Kubernetes Cluster Node Logs** to view system logs collected from nodes in your clusters. +6. **Filter node logs** by: + - `Datasource` which is automatically created upon deployment, and visible in the Cockpit console + - `Cluster Name` ( e.g. `my-kapsule-cluster`) + - `Node`, or `Syslog Identifier` labels to isolate specific workloads + - **Time range** to limit how far back in history you want to query +7. **Analyze** logs in real-time or historical mode to troubleshoot issues, watch for errors, or track performance. ## Usage and pricing @@ -171,4 +177,4 @@ Key points include: - [Send logs from your Kubernetes cluster to your Cockpit (How-To)](/cockpit/how-to/send-logs-from-k8s-to-cockpit/) - [Send metrics from your Kubernetes cluster to your Cockpit (How-To)](/cockpit/how-to/send-metrics-from-k8s-to-cockpit/) - [Promtail Documentation](https://grafana.com/docs/loki/latest/clients/promtail/) -- [Scaleway Kubernetes Kapsule and Kosmos Documentation](/kubernetes/quickstart/) \ No newline at end of file +- [Scaleway Kubernetes Kapsule and Kosmos Documentation](/kubernetes/quickstart/) From 908a0d649d665fd686a220d7ee825cf2ebd77309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9da?= <87707325+nerda-codes@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:32:09 +0100 Subject: [PATCH 2/4] Update pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx Co-authored-by: Benedikt Rollik --- pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx index ffb0d756e3..93d31a4d0e 100644 --- a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx +++ b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx @@ -109,7 +109,7 @@ Once Promtail is running: 1. Go to the **Cockpit** section of the Scaleway console, then click **Open dashboards**. 2. Log into Grafana using your [Cockpit credentials](/cockpit/how-to/retrieve-grafana-credentials/). -3. In Grafana's menu, go to dashboards and select **Kubernetes Cluster Pod Logs** to view logs collected from pods in your clusters. +3. In Grafana's menu, navigate to **Dashboards** and select **Kubernetes Cluster Pod Logs** to view logs collected from pods in your clusters. 4. **Filter pod logs** by: - `Datasource` which is automatically created upon deployment, and visible in the Cockpit console - `Cluster Name` ( e.g. `my-kapsule-cluster`) From 6a2c327ac589dac2006cb30436a99a92fb57225d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9da?= <87707325+nerda-codes@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:32:18 +0100 Subject: [PATCH 3/4] Update pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx Co-authored-by: Benedikt Rollik --- .../how-to/monitor-data-plane-with-cockpit.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx index 93d31a4d0e..37c5e3ea83 100644 --- a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx +++ b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx @@ -115,13 +115,13 @@ Once Promtail is running: - `Cluster Name` ( e.g. `my-kapsule-cluster`) - `namespace`, `pod`, or `container` labels to isolate specific workloads - **Time range** to limit how far back in history you want to query -5. Alternatively, in Grafana's menu, go to dashboards and select **Kubernetes Cluster Node Logs** to view system logs collected from nodes in your clusters. +5. Alternatively, in Grafana's menu, navigate to **Dashboards** and select **Kubernetes Cluster Node Logs** to view system logs collected from nodes in your clusters. 6. **Filter node logs** by: - - `Datasource` which is automatically created upon deployment, and visible in the Cockpit console - - `Cluster Name` ( e.g. `my-kapsule-cluster`) - - `Node`, or `Syslog Identifier` labels to isolate specific workloads - - **Time range** to limit how far back in history you want to query -7. **Analyze** logs in real-time or historical mode to troubleshoot issues, watch for errors, or track performance. + - `Datasource` which is automatically created upon deployment and visible in the Cockpit console. + - `Cluster Name (e.g., `my-kapsule-cluster`). + - `Node` or `Syslog Identifier` labels to isolate specific workloads. + - `Time range` to limit how far back in history you want to query. +8. **Analyze** logs in real-time or historical mode to troubleshoot issues, monitor errors, or track performance. ## Usage and pricing From 9780f164f91faa6ebd2b12d011a795417cbfb194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9da?= <87707325+nerda-codes@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:32:34 +0100 Subject: [PATCH 4/4] Update pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx --- pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx index 37c5e3ea83..f45e3262a5 100644 --- a/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx +++ b/pages/kubernetes/how-to/monitor-data-plane-with-cockpit.mdx @@ -118,7 +118,7 @@ Once Promtail is running: 5. Alternatively, in Grafana's menu, navigate to **Dashboards** and select **Kubernetes Cluster Node Logs** to view system logs collected from nodes in your clusters. 6. **Filter node logs** by: - `Datasource` which is automatically created upon deployment and visible in the Cockpit console. - - `Cluster Name (e.g., `my-kapsule-cluster`). + - `Cluster Name` (e.g., `my-kapsule-cluster`). - `Node` or `Syslog Identifier` labels to isolate specific workloads. - `Time range` to limit how far back in history you want to query. 8. **Analyze** logs in real-time or historical mode to troubleshoot issues, monitor errors, or track performance.