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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Compute Cloud
  • Yandex Container Solution
  • Access management
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
          • Overview
          • Get
          • List
          • Create
          • CreateFromYaml
          • Update
          • UpdateFromYaml
          • Stop
          • RollingRestart
          • RollingRecreate
          • Start
          • Delete
          • ListInstances
          • DeleteInstances
          • StopInstances
          • ListOperations
          • ListLogRecords
          • ListAccessBindings
          • SetAccessBindings
          • UpdateAccessBindings
          • ResumeProcesses
          • PauseProcesses
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • ListInstanceGroupLogRecordsRequest
  • ListInstanceGroupLogRecordsResponse
  • LogRecord
  1. API reference
  2. gRPC
  3. Compute Cloud Instance Groups API
  4. InstanceGroup
  5. ListLogRecords

Compute Cloud Instance Groups API, gRPC: InstanceGroupService.ListLogRecords

Written by
Yandex Cloud
Updated at April 24, 2025
  • gRPC request
  • ListInstanceGroupLogRecordsRequest
  • ListInstanceGroupLogRecordsResponse
  • LogRecord

Lists logs for the specified instance group.

gRPC request

rpc ListLogRecords (ListInstanceGroupLogRecordsRequest) returns (ListInstanceGroupLogRecordsResponse)

ListInstanceGroupLogRecordsRequest

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

Field

Description

instance_group_id

string

Required field. ID of the InstanceGroup resource to list logs for.
To get the instance group ID, use a InstanceGroupService.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 ListInstanceGroupLogRecordsResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.

page_token

string

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

filter

string

A filter expression that filters resources listed in the response.
Currently you can use filtering only on the InstanceGroup.name field.

ListInstanceGroupLogRecordsResponse

{
  "log_records": [
    {
      "timestamp": "google.protobuf.Timestamp",
      "message": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

log_records[]

LogRecord

Lists logs for the specified instance group.

next_page_token

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListInstanceGroupLogRecordsRequest.page_size, use
next_page_token as the value
for the ListInstanceGroupLogRecordsRequest.page_token query parameter
in the next list request. Each subsequent list request will have its own
next_page_token to continue paging through the results.

LogRecord

Field

Description

timestamp

google.protobuf.Timestamp

Log timestamp in RFC3339 text format.

message

string

The log message.

Was the article helpful?

Previous
ListOperations
Next
ListAccessBindings
Yandex project
© 2025 Yandex.Cloud LLC