Skip to main content
The monitoring agent installed on Compute virtual machines can collect journald logs from systemd services and forward them to Observability Logs. This allows you to centralize and analyze system-level logs from your VMs.

Enable journald log collection

To enable journald log collection, you need to set specific labels on your Compute virtual machine. You can do this when creating a VM or by updating an existing one.
Currently, journald log collection is only supported on standalone Compute VMs.

Configuration labels

Use the following labels to configure journald log collection:

How to set labels

When creating a new VM by running nebius compute instance create, pass the labels through the --labels parameter:
To update labels on an existing VM, run nebius compute instance update:
To set multiple labels, separate them with commas.
After updating labels on an existing VM via the CLI or Terraform, you must stop and then start the VM for the changes to take effect.
For more details on creating and managing VMs, see How to create a virtual machine in Nebius AI Cloud.

View collected logs

After configuring journald log collection, you can view the collected logs in Grafana®. For instructions on how to connect and query logs, see How to view logs in Grafana®.

Collected attributes

The monitoring agent extracts the following attributes from journald log entries:

Data enrichment

In addition to the journald attributes, the monitoring agent enriches log entries with the following metadata:

See also