Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Data Processing
  • Getting started
    • All guides
      • Working with logs
      • Cluster and host state monitoring
      • Spark application status monitoring
      • Diagnosing and troubleshooting Spark application performance issues
    • Creating and using Python virtual environments
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • FAQ

In this article:

  • Viewing log entries
  • Disabling log sending
  • Storing logs
  1. Step-by-step guides
  2. Logs and monitoring
  3. Working with logs

Working with logs

Written by
Yandex Cloud
Updated at June 29, 2026
View in Markdown
  • Viewing log entries
  • Disabling log sending
  • Storing logs

Yandex Cloud Logging collects and displays Yandex Data Processing cluster logs.

To monitor events on the cluster and its individual hosts, specify the relevant log group in its settings. You can do this when creating or updating the cluster. If no log group is selected for the cluster, the default log group in the cluster directory will be used for sending and storing logs.

For more information, see Logs.

Viewing log entriesViewing log entries

Management console
CLI
  1. Open the folder dashboard.
  2. Navigate to Yandex Data Processing.
  3. Click the cluster name.
  4. Under Configuration, click the name of the cluster log group. The Cloud Logging page will open.
  5. Click the log group row. This will open the cluster logs.
  6. Optionally, specify the output settings:
    • Message filter:

      • Getting the Yandex Data Processing job run output:

        job_id="<job_ID>"
        
      • Getting the stdout logs for all YARN application containers:

        application_id="<YARN_app_ID>" AND yarn_log_type="stdout"
        
      • Getting the stderr logs of a YARN container:

        container_id="<YARN_container_ID>" AND yarn_log_type="stderr"
        
      • Getting YARN Resource Manager log entries from the cluster master host:

        hostname="<master_host_FQDN>" AND log_type="hadoop-yarn-resourcemanager"
        
    • Message logging levels: From TRACE to FATAL.

    • Number of messages per page.

    • Message interval (either standard or custom).

If you do not have the Yandex Cloud CLI yet, install and initialize it.

See the description of the CLI command for getting logs:

yc logging read --help

Examples:

  • To get logs of the Yandex Data Processing cluster's HDFS NameNode, run this command:

    yc logging read \
       --group-id=<log_group_ID> \
       --resource-ids=<cluster_ID> \
       --filter=log_type=hadoop-hdfs-namenode
    
  • To get logs for the last two hours from all Yandex Data Processing clusters assigned to a specific log group, run this command:

    yc logging read \
       --group-id=<log_group_ID> \
       --resource-types=dataproc.cluster \
       --since=2h
    
  • To get your cluster's system log over a specific period, run this command:

    yc logging read \
       --group-id <log_group_ID> \
       --resource-ids=<cluster_ID> \
       --filter 'syslog' \
       --since 'YYYY-MM-DDThh:mm:ssZ' \
       --until 'YYYY-MM-DDThh:mm:ssZ'
    

    Set the logging period in the --since and --until parameters. Time format: YYYY-MM-DDThh:mm:ssZ, e.g., 2020-08-10T12:00:00Z. Use the UTC time zone.

  • To get the log for metrics sent from a specific host to Yandex Monitoring, run this command:

    yc logging read \
       --group-id <log_group_ID> \
       --resource-ids=<cluster_ID> \
       --filter 'telegraf and hostname="<host_FQDN>"' \
       --since 'YYYY-MM-DDThh:mm:ssZ' \
       --until 'YYYY-MM-DDThh:mm:ssZ'
    

Note

You can skip --group-id and specify the log group ID directly.

To get the host FQDN:

1. Open the [folder dashboard](https://console.yandex.cloud).
1. Navigate to **Yandex Data Processing**.
1. Click the cluster name.
1. Navigate to the **Hosts** tab.
1. Copy the host FQDN.

Disabling log sendingDisabling log sending

Management console
CLI

When creating or updating your cluster, add the dataproc:disable_cloud_logging property set to true.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

When creating or updating your cluster, specify dataproc:disable_cloud_logging=true in the --property parameter or provide an empty string ("") instead of the log group ID in the --log-group-id parameter:

yc dataproc cluster create <cluster_name> \
   ... \
   --log-group-id=""
yc dataproc cluster update <cluster_name_or_ID> \
   --property dataproc:disable_cloud_logging=true

Storing logsStoring logs

Log collection and storage are billed according to the Cloud Logging pricing policy. The default log retention period is three days. To update the retention period, edit the log group settings.

For more information about logs, see this Cloud Logging guide.

Was the article helpful?

Previous
MapReduce jobs
Next
Cluster and host state monitoring
© 2026 Direct Cursus Technology L.L.C.