Cloud Logging Service, REST: LogGroup.Stats
Written by
Updated at July 1, 2026
Returns stats for the specified log group.
HTTP request
GET https://logging.api.cloud.yandex.net/logging/v1/logGroups/{logGroupId}/stats
Path parameters
|
Field |
Description |
|
logGroupId |
string Required field. ID of the log group to return stats for. The maximum string length in characters is 64. |
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. |