Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Logging
  • Getting started
    • 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 a list of log groups

Getting a list of log groups

Written by
Yandex Cloud
Updated at December 11, 2025
Management console
CLI
API
  1. In the management console, go to the folder where you want to view a list of log groups.
  2. Go to Cloud Logging.
  3. In the left-hand panel, select Groups.

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

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

To get a list of log groups in the folder, run this command:

yc logging group list

Result:

+----------------------+---------+----------------------+--------+
|          ID          |  NAME   |      FOLDER ID       | STATUS |
+----------------------+---------+----------------------+--------+
| af36gk8qv2********** | default | aoek6qrs8t********** | ACTIVE |
+----------------------+---------+----------------------+--------+

To get a list of log groups, use the list REST API method for the LogGroup resource or the LogGroupService/List gRPC API call.

Request example

The example below uses grpcurl. To run this example, authenticate with the API and clone the cloudapi repository.

Run this query:

grpcurl \
  -rpc-header "Authorization: Bearer $(yc iam create-token)" \
  -d '{"folder_id": "<folder_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.List

Result:

{
  "groups": [
    {
      "id": "e23u2vn449av********",
      "folderId": "b1g3f9i71bpm********",
      "cloudId": "b1gvlrnlei4l********",
      "createdAt": "2023-02-09T07:49:15.857Z",
      "name": "default",
      "description": "Auto-created default group",
      "status": "ACTIVE",
      "retentionPeriod": "259200s"
    }
  ]
}

Was the article helpful?

Previous
Managing log group access permissions
Next
Getting information about a log group
© 2025 Direct Cursus Technology L.L.C.