Cloud Logging Service, REST: LogGroup.Stats
Written by
Updated at October 17, 2024
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. 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. |