> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logs in Managed Service for Kubernetes®

Managed Service for Kubernetes provides logs about clusters and node groups. Use these logs for troubleshooting and tracking actions on Managed Kubernetes resources. The logs are available in the web console: on the <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/observability.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=911a6fc7da512bdf286067c68245a501" width="16" height="16" data-path="_assets/sidebar/observability.svg" /> [Observability → Logs](https://console.nebius.com/observability/logs) page or on the **Logs** tab of a cluster page.

The service supports two types of logs:

* **Audit logs**: Contain metadata about operations that modify a cluster. For example, who and when created or deleted a Pod.

  Disabled by default; you can [enable them](#how-to-enable-audit-logs).

* **Control plane logs**: Show actions recorded by [control plane components](components#control-plane-components) of a cluster. For example, you can learn about the cluster scaling, Pod scheduling or node availability.

  The control plane logs are collected from the following components:

  * API server ([kube-apiserver](https://kubernetes.io/docs/concepts/overview/kubernetes-api/))
  * Scheduler ([kube-scheduler](https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/))
  * [Cluster autoscaler](https://nebius-ai-cloud-users-alena-linki-techdocs-1903-k8s-logs-new.mintlify.app/kubernetes/node-groups/autoscaling)
  * Controller manager ([kube-controller-manager](https://kubernetes.io/docs/concepts/architecture/controller/))
  * Cloud controller manager

  In addition, Kubernetes generates node events. They provide information about Kubernetes resources, for example, state changes, node errors, Pod errors or scheduling failures.

  The control plane logs are enabled by default; you cannot disable them.

## How to enable audit logs

Audit logs in Managed Kubernetes are disabled by default. To enable them, run the following command:

```bash theme={null}
nebius mk8s cluster update --id <cluster_ID> --control-plane-audit-logs
```

## How to view logs

<Tabs>
  <Tab title="Web console">
    1. In the sidebar, go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/compute.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=b91340217b08a1456d88ae0347f281d1" width="16" height="16" data-path="_assets/sidebar/compute.svg" /> **Compute** → **Kubernetes**.
    2. Open the page of the required cluster and then go to the **Logs** tab.
    3. In the **Bucket** field, select **Managed Kubernetes audit logs** or **Managed Kubernetes control planes**.
    4. (Optional) To check logs for a specific control plane component, select it in the **Component** field.
    5. Apply the required period.
  </Tab>
</Tabs>

## See also

* [Logs in Nebius AI Cloud](/observability/logging)
