Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Logging
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Run
        • Get
        • List
        • Create
        • Update
        • Delete
        • ListOperations
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
  • Monitoring metrics
  • Audit Trails events
  • FAQ

In this article:

  • gRPC request
  • ListExportsRequest
  • ListExportsResponse
  • Export
  • ExportParams
  1. API reference
  2. gRPC
  3. Export
  4. List

Cloud Logging Service, gRPC: ExportService.List

Written by
Yandex Cloud
Updated at December 17, 2024
  • gRPC request
  • ListExportsRequest
  • ListExportsResponse
  • Export
  • ExportParams

Retrieves the list of exports in the specified folder.

gRPC requestgRPC request

rpc List (ListExportsRequest) returns (ListExportsResponse)

ListExportsRequestListExportsRequest

{
  "folder_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "filter": "string"
}

Field

Description

folder_id

string

Required field. Folder ID of the exports to return.

To get a folder ID make a yandex.cloud.resourcemanager.v1.FolderService.List request.

page_size

int64

The maximum number of results per page to return. If the number of available
results is larger than page_size, the service returns a [ListExportssResponse.next_page_token]
that can be used to get the next page of results in subsequent list requests.

Default value: 100.

page_token

string

Page token. To get the next page of results, set page_token to the
ListExportsResponse.next_page_token returned by a previous list request.

filter

string

A filter expression that filters exports listed in the response.

The expression must specify:

  1. The field name. Currently filtering can only be applied to the Export.name field.
  2. An = operator.
  3. The value in double quotes ("). Must be 3-63 characters long and match the regular expression [a-z][-a-z0-9]{1,61}[a-z0-9].
    Example of a filter: name="my-export".

ListExportsResponseListExportsResponse

{
  "exports": [
    {
      "id": "string",
      "folder_id": "string",
      "cloud_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "name": "string",
      "description": "string",
      "labels": "map<string, string>",
      "group_id": "string",
      "sink_id": "string",
      "params": {
        "resource_types": [
          "string"
        ],
        "resource_ids": [
          "string"
        ],
        "stream_names": [
          "string"
        ],
        "levels": [
          "Level"
        ],
        "filter": "string"
      }
    }
  ],
  "next_page_token": "string"
}

Field

Description

exports[]

Export

List of exports in the specified folder.

next_page_token

string

Token for getting the next page of the list. If the number of results is greater than
the specified ListExportsRequest.page_size, use next_page_token as the value
for the ListExportsRequest.page_token parameter in the next list request.

Each subsequent page will have its own next_page_token to continue paging through the results.

ExportExport

Field

Description

id

string

Export ID.

folder_id

string

Export folder ID.

cloud_id

string

Export cloud ID.

created_at

google.protobuf.Timestamp

Export creation time.

name

string

Export name.

description

string

Export description.

labels

object (map<string, string>)

Export lables.

group_id

string

Group logs are exported from.

sink_id

string

Sink logs are exported to.

params

ExportParams

Parameters of logs filtration.

ExportParamsExportParams

Field

Description

resource_types[]

string

resource_ids[]

string

stream_names[]

string

levels[]

enum Level

  • LEVEL_UNSPECIFIED: Default log level.

    Equivalent to not specifying log level at all.

  • TRACE: Trace log level.

    Possible use case: verbose logging of some business logic.

  • DEBUG: Debug log level.

    Possible use case: debugging special cases in application logic.

  • INFO: Info log level.

    Mostly used for information messages.

  • WARN: Warn log level.

    May be used to alert about significant events.

  • ERROR: Error log level.

    May be used to alert about errors in infrastructure, logic, etc.

  • FATAL: Fatal log level.

    May be used to alert about unrecoverable failures and events.

filter

string

Was the article helpful?

Previous
Get
Next
Create
© 2025 Direct Cursus Technology L.L.C.