Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Compute Cloud
  • Yandex Container Solution
  • Управление доступом
  • Справочник Terraform
    • Аутентификация в 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
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы

В этой статье:

  • gRPC request
  • ListInstanceGroupLogRecordsRequest
  • ListInstanceGroupLogRecordsResponse
  • LogRecord
  1. Справочник API
  2. gRPC (англ.)
  3. Compute Cloud Instance Groups API
  4. InstanceGroup
  5. ListLogRecords

Compute Cloud Instance Groups API, gRPC: InstanceGroupService.ListLogRecords

Статья создана
Yandex Cloud
Обновлена 24 апреля 2025 г.
  • gRPC request
  • ListInstanceGroupLogRecordsRequest
  • ListInstanceGroupLogRecordsResponse
  • LogRecord

Lists logs for the specified instance group.

gRPC requestgRPC request

rpc ListLogRecords (ListInstanceGroupLogRecordsRequest) returns (ListInstanceGroupLogRecordsResponse)

ListInstanceGroupLogRecordsRequestListInstanceGroupLogRecordsRequest

{
  "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.

ListInstanceGroupLogRecordsResponseListInstanceGroupLogRecordsResponse

{
  "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.

LogRecordLogRecord

Field

Description

timestamp

google.protobuf.Timestamp

Log timestamp in RFC3339 text format.

message

string

The log message.

Была ли статья полезна?

Предыдущая
ListOperations
Следующая
ListAccessBindings
Проект Яндекса
© 2025 ООО «Яндекс.Облако»