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
    • Yandex SIEM
    • 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 Audit Trails
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Management event reference
  • Data event reference
  • Release notes

In this article:

  • Getting started
  • Creating a trail
  • Viewing audit logs
  • Exporting audit logs to SIEM
  • What's next

Getting started with Audit Trails

Written by
Yandex Cloud
Updated at September 17, 2026
View in Markdown
  • Getting started
  • Creating a trail
  • Viewing audit logs
  • Exporting audit logs to SIEM
  • What's next

Audit Trails collects audit logs of Yandex Cloud resources to monitor actions with resources and access events. You can upload logs to a Yandex Object Storage bucket, Yandex Cloud Logging log group, or Yandex Data Streams data stream.

Audit logs are collected and delivered to Audit Trails using trails. You need a separate trail for each storage type.

Follow this guide to create a trail to upload the audit logs of your organization’s resources. Select the destination object, depending on your goal:

  • Object Storage bucket for long-term storage of audit logs and their future analysis.
  • Cloud Logging log group to quickly view and search logs in real time. A good option for your first introduction to the service.

Getting startedGetting started

This guide assumes that you already have Yandex Cloud resources, so first make sure that:

  • You have a cloud.
  • Your cloud has a linked billing account with the ACTIVE or TRIAL_ACTIVE status.

To create a trail, you will need the following roles:

  • iam.serviceAccounts.user for the service account to collect audit logs. You can create this service account when creating the trail.

  • audit-trails.editor for the folder to host the trail.

  • audit-trails.viewer for the organization whose audit logs will be collected.

  • If using a bucket:

    • kms.editor for the folder the bucket encryption key will be created in.
    • storage.viewer for the bucket or folder.
  • If using a log group: logging.viewer for the log group or folder.

Note

If you cannot manage roles, contact your cloud or organization administrator.

Creating a trailCreating a trail

Bucket
Log group
  1. In the management console, select the folder to host the trail.

  2. Navigate to Audit Trails.

  3. Click Create trail.

  4. Under Destination, configure the destination object:

    • Destination: Object Storage.
    • Bucket: Select the bucket to upload audit logs to. If you do not have a bucket yet, click Create and create a new bucket with restricted access.
    • Object prefix: Optional parameter used in the full name of the audit log file.

    Note

    Use a prefix to store audit logs and third-party data in the same bucket. Do not use the same prefix for logs and other bucket objects because that may cause logs and third-party objects to overwrite each other.

    • Encryption key: If the bucket you selected is encrypted, specify the encryption key.
  5. Under Control plane log collection:

    1. Enable log collection.

    2. Select a resource: Organization, Cloud, or Folder.

    3. Depending on the resource you selected, select specific clouds or folders to collect events from:

      • For the Organization collection scope, select one or more clouds to collect events from in the Cloud drop-down list.

        Keep the default value (All) to collect events from all clouds in the organization.

      • For the Cloud collection scope, select one or more folders to collect events from in the Folder drop-down list.

        Keep the default value (All) to collect events from all folders in the cloud.

  6. Under Data plane log collection:

    Warning

    In the management console, collection of some data events is on by default. Their delivery is billed as per the pricing policy. If you do not need data events, disable their collection.

    1. Enable log collection.

    2. Select the services to collect audit logs for.

    3. Configure the event collection scope and filter for each service:

      1. Click to the right of the service name.

      2. Select a resource: Organization, Cloud, or Folder.

      3. Depending on the resource you selected, select specific clouds or folders to collect events from:

        • For the Organization collection scope, select one or more clouds to collect events from in the Cloud drop-down list.

          Keep the default value (All) to collect events from all clouds in the organization.

        • For the Cloud collection scope, select one or more folders to collect events from in the Folder drop-down list.

          Keep the default value (All) to collect events from all folders in the cloud.

      4. Select the event filter:

        • Get all: To collect all events within the service.
        • Selected: To collect only selected events. Then proceed to select the events.
        • Exclude: To collect all events except for the selected ones. Then proceed to select the events.
  7. Under Service account, select an existing service account or create a new one. The trail will use this account to upload audit log files to the bucket.
    If you are creating a new account, click Create, name the account, and and assign the following roles to it:

    • storage.uploader for the bucket.
    • audit-trails.viewer for the folder if planning to collect events from the folder.
    • kms.keys.encrypter for the encryption key if the bucket is encrypted.
  8. In the Name field, enter a name for the trail.

  9. Click Create.

  1. In the management console, select the folder to host the trail.

  2. Navigate to Audit Trails.

  3. Click Create trail.

  4. In the Name field, enter a name for the trail.

  5. Under Destination, configure the destination object:

    • Destination: Cloud Logging.
    • Log group: Select a log group to upload audit logs to. If you do not have a log group yet, click Create and create a new log group.
  6. Under Control plane log collection:

    1. Enable log collection.

    2. Select a resource: Organization, Cloud, or Folder.

    3. Depending on the resource you selected, select specific clouds or folders to collect events from:

      • For the Organization collection scope, select one or more clouds to collect events from in the Cloud drop-down list.

        Keep the default value (All) to collect events from all clouds in the organization.

      • For the Cloud collection scope, select one or more folders to collect events from in the Folder drop-down list.

        Keep the default value (All) to collect events from all folders in the cloud.

  7. Under Data plane log collection:

    Warning

    In the management console, collection of some data events is on by default. Their delivery is billed as per the pricing policy. If you do not need data events, disable their collection.

    1. Enable log collection.

    2. Select the services to collect audit logs for.

    3. Configure the event collection scope and filter for each service:

      1. Click to the right of the service name.

      2. Select a resource: Organization, Cloud, or Folder.

      3. Depending on the resource you selected, select specific clouds or folders to collect events from:

        • For the Organization collection scope, select one or more clouds to collect events from in the Cloud drop-down list.

          Keep the default value (All) to collect events from all clouds in the organization.

        • For the Cloud collection scope, select one or more folders to collect events from in the Folder drop-down list.

          Keep the default value (All) to collect events from all folders in the cloud.

      4. Select the event filter:

        • Get all: To collect all events within the service.
        • Selected: To collect only selected events. Then proceed to select the events.
        • Exclude: To collect all events except for the selected ones. Then proceed to select the events.
  8. Under Service account, select an existing service account or create a new one. The trail will use this account to upload audit log files to the log group.
    If you are creating a new account, click Create, name the account, and and assign the following roles to it:

    • logging.writer for the log group.
    • audit-trails.viewer for the folder if planning to collect events from the folder.
  9. Click Create.

You can also create a trail using the CLI, Terraform, or API.

Note

Changing the destination object of an existing trail may result in the loss of some events. To prevent data loss, create a dedicated trail for each destination object.

Viewing audit logsViewing audit logs

Bucket
Log group

Audit Trails generates audit log files approximately once every 5 minutes. Audit Trails creates log files in JSON format.

Access to the contents of the audit log file using one of the following methods:

  • Download the object.
  • Get a public link to the object.
  • Mount the bucket using FUSE: s3fs or goofys.

In the Cloud Logging UI, you can view audit logs in real time.

  1. In the management console, select the folder containing the log group.
  2. Navigate to Cloud Logging.
  3. Click the row with the log group.
  4. Navigate to the Logs tab.
  5. Configure event search filters.

Exporting audit logs to SIEMExporting audit logs to SIEM

You can export audit log files to your SIEM solution.

What's nextWhat's next

  • Learn more about the service.
  • Learn more about the types of audit logs.
  • Read about audit log requirements in the security standard.

Was the article helpful?

Next
All guides
© 2026 Direct Cursus Technology L.L.C.