Migrating from Cloud Logging to Monium
Migrating from Cloud Logging to Monium
Warning
Cloud Logging will be shut down in Q2 2027. Use the Monium Observability platform instead of it.
Cloud Logging and Monium comparison
|
Cloud Logging |
Monium |
|
|
Writing |
$0.2094299665 (GB per month) |
$0.036065568 (GB per month) |
|
Storage |
Billable |
Not billable. TTL: 31 days |
|
Reading and analytics |
Basic log search |
Aggregations, unified query language for logs, metrics, and traces |
|
Migration |
— |
Changing the format (OTEL) and endpoint |
Testing Monium without migration
Logs from Cloud Logging are already available in Monium. Open them in the management console
-
When viewing logs in Cloud Logging, click Open in Monium.
-
Open the link:
https://monium.yandex.cloud/projects/folder__<folder_ID>/logs
For each folder, the system creates a project with an ID in folder__<folder_ID> format, where you can access logs of each log group by its name.
To search for logs, specify this query:
{project="folder__<folder_ID>", cluster="default", service="<log_group_name>"}
Migration steps
-
Make sure the data is available in Monium in the
folder__<folder_ID>project. -
Update your data delivery agent (Unified Agent, Fluent Bit 4.0) or use Otel Collector and configure delivery in OTel format.
-
Specify a new endpoint:
ingest.monium.yandex.cloud:443. Otherwise, logs will continue to be delivered via Cloud Logging and billed accordingly. -
Make sure logs are delivered to Monium directly, not via Cloud Logging.
To check this, view service usage details by products in Yandex Cloud Billing. After migration, you should see usage details for logs in Monium. Cloud Logging consumption should decrease or stop entirely.
After migration, logs will be billed according to the Monium pricing and all platform features will become available.
-
Optionally, rename the projects, clusters, and services. You can leave the current structure:
folder__<folder_ID>→default→log group nameor set custom names. For more information, see Data model in Monium.Metrics.
Configuring an agent for OTel delivery
Unified Agent
-
Replace the
outputsection in the configuration file.Previously:
channel: output: plugin: yc_logs config: url: "ingester.logging.yandexcloud.net:443" log_group_id: "<log_group_ID>" folder_id: "<folder_ID>" iam: cloud_meta:Now:
channel: output: plugin: otel_logs config: url: "ingest.monium.yandex.cloud:443" project: folder__<folder_ID> service: <service_name> iam: cloud_meta:You can specify any
project: you can create your own projects in Monium. In theserviceproperty, specify the log group name to save the data structure. -
To specify a cluster, add the
cluster: <cluster_name>property. The default value isdefault.
Fluent Bit
You can continue using Fluent Bit or configure delivery via OTel Collector.
-
Make sure that your Fluent Bit
version is 4.0 or higher:apt show fluent-bit -
Make sure the configuration file is in YAML format. Support for the standard INI format will be discontinued at the end of 2026.
-
Replace the
outputssection.Previously (
yc-loggingplugin):pipeline: outputs: - name: yc-logging ...Now (
opentelemetryplugin):pipeline: outputs: - name: opentelemetry host: ingest.monium.yandex.cloud port: 443 logs_uri: /otlp/v1/logs tls: on tls.verify: off header: - Authorization Api-Key ${API_KEY} - x-monium-project folder__<folder_ID>You can provide an IAM token instead of an API key:
Authorization Bearer ${IAM_TOKEN}. -
If the input plugin does not use OpenTelemetry or the
serviceproperty is not set in messages, add theopentelemetry_envelopeprocessor with these resource attributes:pipeline: inputs: - name: <input_plugin> processors: logs: - name: opentelemetry_envelope - name: content_modifier context: otel_resource_attributes action: upsert key: service.name value: <log_group_name> - name: content_modifier context: otel_resource_attributes action: upsert key: cluster value: defaultIn the
service.nameproperty, specify the log group name to save the data structure. Theclusterproperty is optional. The default value isdefault.
Reading logs via the API
Reading logs via the Cloud Logging API will be supported until March 1, 2027 if you preserve the folder__<folder_ID> → default → log group name structure. All data remains accessible within the 31-day retention period.
Reading data via the Monium API and the associated documentation will become available in July 2026. Make sure to migrate read requests to the new API before the old API support is discontinued.