Yandex Cloud
  • Сервисы
  • Решения
  • Почему Yandex Cloud
  • Сообщество
  • Тарифы
  • Документация
  • Связаться с нами
Подключиться
Language / Region
Проект Яндекса
© 2023 ООО «Яндекс.Облако»
Yandex Cloud Logging
  • Начало работы
  • Пошаговые инструкции
    • Все инструкции
    • Добавление записей
    • Чтение записей
    • Управление лог-группой
      • Создание лог-группы
      • Управление правами доступа к лог-группе
      • Изменение срока хранения записей
      • Получение списка лог-групп
      • Мониторинг
      • Удаление лог-группы
  • Практические руководства
    • Все руководства
    • Передача логов кластера Yandex Managed Service for Kubernetes в Cloud Logging
    • Передача логов с ВМ в Cloud Logging
    • Передача логов с COI в Cloud Logging
    • Репликация логов в Object Storage с помощью Fluent Bit
  • Концепции
    • Лог-группа
    • Язык фильтрующих выражений
    • Квоты и лимиты
  • Управление доступом
  • Правила тарификации
  • Справочник API
    • Аутентификация в API
    • gRPC (англ.)
      • Overview
      • LogGroupService
      • LogIngestionService
      • LogReadingService
      • OperationService
    • REST (англ.)
      • Overview
      • LogGroup
        • Overview
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • listOperations
        • listResources
        • setAccessBindings
        • stats
        • update
        • updateAccessBindings
  • Вопросы и ответы
  1. Справочник API
  2. REST (англ.)
  3. LogGroup
  4. Overview

Cloud Logging Service, REST: LogGroup methods

Статья создана
Yandex Cloud
  • JSON Representation
  • Methods

A set of methods for managing log groups.

JSON Representation

{
  "id": "string",
  "folderId": "string",
  "cloudId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "status": "string",
  "retentionPeriod": "string",
  "dataStream": "string"
}
Field Description
id string

Log group ID.

folderId string

Log group folder ID.

cloudId string

Log group cloud ID.

createdAt string (date-time)

Log group creation time.

String in RFC3339 text format. The range of possible values is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

name string

Log group name.

description string

Log group description.

labels object

Log group labels.

status string

Status of the log group.

Possible log group statuses.

  • STATUS_UNSPECIFIED: Unknown status.

Should never occur. - CREATING: Log group is creating.

  • ACTIVE: Log group is ready to accept messages,

  • DELETING: Log group is being deleted.

    No messages will be accepted.

  • ERROR: Log group is in failed state.

retentionPeriod string

Log group entry retention period.

Entries will be present in group during this period.

dataStream string

Data stream name

Methods

Method Description
create Creates a log group in the specified folder.
delete Deletes the specified log group.
get Returns the specified log group.
list Retrieves the list of log groups in the specified folder.
listAccessBindings Lists existing access bindings for the specified log group.
listOperations Lists operations for the specified log group.
listResources Retrieves the resources (type and IDs) in the specified log group.
setAccessBindings Sets access bindings for the specified log group.
stats Returns stats for the specified log group.
update Updates the specified log group.
updateAccessBindings Updates access bindings for the specified log group.

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

Language / Region
Проект Яндекса
© 2023 ООО «Яндекс.Облако»
В этой статье:
  • JSON Representation
  • Methods