Cloud Logging Service, REST: LogGroup.Stats
Статья создана
Обновлена 8 августа 2025 г.
Returns stats for the specified log group.
HTTP request
GET https://logging.api.yandexcloud.kz/logging/v1/logGroups/{logGroupId}/stats
Path parameters
|
Field |
Description |
|
logGroupId |
string Required field. ID of the log group to return stats for. To get a log group ID make a LogGroupService.List request. |
Response
HTTP Code: 200 - OK
{
"logGroupId": "string",
"bytes": "string",
"records": "string"
}
|
Field |
Description |
|
logGroupId |
string Log group ID the stats are returned for. |
|
bytes |
string (int64) Size of data in log group in bytes. |
|
records |
string (int64) Amount of records in log group. |