> ## 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.

# Viewing serial logs of virtual machines

Compute virtual machines write logs from a serial console. Serial logs may help you with troubleshooting VM startup and shutdown failures, operating system incidents or other similar issues.

Serial logs are kept for 14 days. The logs for deleted instances are also kept for 14 days, but you cannot see them in the [web console](#view-serial-logs-in-web-console). Use [Grafana®](#view-serial-logs-in-grafana) or [LogCLI](#query-serial-logs-with-logcli) to view logs of deleted instances.

Serial logs for Compute are free of charge.

## View serial logs in web console

<Tabs group="interfaces">
  <Tab title="Web console">
    To view the serial logs of a given virtual machine:

    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** → **Virtual machines**.
    2. Select the virtual machine you need and switch to the **Serial logs** tab.

    To view all serial logs in one place:

    1. In the sidebar, go to <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).
    2. Select the serial logs bucket.
    3. Optionally, filter the logs by virtual machine ID.
  </Tab>
</Tabs>

## View serial logs in Grafana®

You can visualize the serial logs of services in Grafana.

After you [connect Grafana](../../observability/logs/grafana#how-to-connect-grafana), set the `__bucket__` label value to `sp_serial`.

## Query serial logs with LogCLI

After you [set up LogCLI](../../observability/logs/logcli), set the `__bucket__` label value to `sp_serial` in your queries, for example:

```bash theme={null}
logcli query '{__bucket__="sp_serial"}' --since 15m
```

***

*The Grafana Labs Marks are trademarks of Grafana Labs, and are used with Grafana Labs’ permission. We are not affiliated with, endorsed or sponsored by Grafana Labs or its affiliates.*
