Skip to main content

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.

To view visualized log data in Grafana, connect Grafana to Observability Logs and query the data using LogQL. Logs support LogQL with some restrictions.

Prerequisites

  1. Install and configure Nebius AI Cloud CLI.
  2. If you don’t have a service account for observability services, create one.
  3. Make sure that the service account is in a group that has at least the viewer role within your tenant; for example, the default viewers group. You can check this in the Administration → IAM section of the web console. If the service account is not in the required group, click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Add to group, and select viewers.
  4. Issue a static key for the service account using the following command:
    nebius iam static-key issue \
      --name <name_for_the_key> \
      --account-service-account-id <service_account_ID> \
      --service=OBSERVABILITY
    
    Copy the value of the static key from the token parameter of the response. You will need it on later steps.

How to connect Grafana

Use one of these ways:
Install the Grafana solution by Nebius, an application for Managed Service for Kubernetes®. The application is configured to view logs.

How to explore and manage logs

Explore the logs: construct LogQL queries using Builder or create dashboards to visualize metrics. Currently, the only supported stream selector label is __bucket__. It can have the following values:
  • sp_serial: Compute virtual machines (serial logs)
  • sp_mk8s_control_plane: Managed Kubernetes clusters (control plane logs)
  • sp_mk8s_audit_logs: Managed Kubernetes clusters (audit logs)
  • sp_mlflow: Managed MLflow clusters
  • sp_postgres: Managed PostgreSQL clusters
  • sp_cloudapps: Standalone Applications
  • sp_k8srelease: applications for Managed Kubernetes
  • default: user-ingested logs
Find deadlocks in a Managed Service for PostgreSQL cluster:
{__bucket__="sp_postgres"} |= `deadlock detected`

Filter by log level

{__bucket__="default"} | level="error"

Exclude noisy entries

{__bucket__="sp_postgres"} |= `ERROR` != `vacuum` != `healthcheck`
For the full query syntax, see the LogQL query language reference.
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. Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.