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 Cloud Logging
  • Getting started
  • Migrating to Monium
    • All guides
    • Adding records
    • Reading records
    • Managing log group access permissions
      • Getting a list of log groups
      • Getting information about a log group
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Getting information about a log group
  3. Getting information about a log group

Getting information about a log group

Written by
Yandex Cloud
Updated at June 15, 2026
View in Markdown
Management console
CLI
API
  1. In the management console, select the folder with the log group.
  2. Go to Cloud Logging.
  3. In the left-hand panel, select Groups.
  4. Select the log group.
  5. The Overview page will show the log group details.

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.

To find out the ID or name of a log group, get a list of groups in the folder.

To get information about a log group, run this command:

yc logging group get <group_name>

Result:

id: e23fal6r2l9d********
folder_id: b1gmit33ngp3********
cloud_id: b1gia87mbaom********
created_at: "2023-09-20T18:57:19.903Z"
name: default
description: log-group description
labels:
compute: instance-logging
vpc: vpc-log
status: ACTIVE
retention_period: 3600s
data_stream: /ru-central1/b1gia87mbaom********/etnu60k6l8ft********/sample-stream

To get log group details, use the get REST API method for the LogGroup resource or the LogGroupService/Get gRPC API call.

To get log group statistics, use the stats REST API method for the LogGroup resource or the LogGroupService/Stats gRPC API call.

Request examples

The examples below use grpcurl. To run them, authenticate with the API and clone the cloudapi repository.

To get log group details, send the following request:

grpcurl \
  -rpc-header "Authorization: Bearer $(yc iam create-token)" \
  -d '{"log_group_id": "<log_group_ID>"}' \
  -import-path ~/cloudapi/ \
  -import-path ~/cloudapi/third_party/googleapis/ \
  -proto ~/cloudapi/yandex/cloud/logging/v1/log_group_service.proto \
logging.api.cloud.yandex.net:443 yandex.cloud.logging.v1.LogGroupService.Get

Result:

{
  "id": "e23u2vn449av********",
  "folderId": "b1g3f9i71bpm********",
  "cloudId": "b1gvlrnlei4l********",
  "createdAt": "2023-11-15T12:48:46.321Z",
  "name": "default",
  "description": "Auto-created default group",
  "status": "ACTIVE",
  "retentionPeriod": "259200s"
}

To get log group statistics, send this request:

grpcurl \
  -rpc-header "Authorization: Bearer $(yc iam create-token)" \
  -d '{"log_group_id": "<log_group_ID>"}' \
  -import-path ~/cloudapi/ \
  -import-path ~/cloudapi/third_party/googleapis/ \
  -proto ~/cloudapi/yandex/cloud/logging/v1/log_group_service.proto \
logging.api.cloud.yandex.net:443 yandex.cloud.logging.v1.LogGroupService.Stats

Result:

{
  "logGroupId": "e23u2vn449av********",
  "bytes": "73510",
  "records": "158"
}

Was the article helpful?

Previous
Getting a list of log groups
Next
Creating a log group
© 2026 Direct Cursus Technology L.L.C.