Cloud Logging Service, REST: LogGroup.stats
Written by
Updated at May 26, 2023
Returns stats for the specified log group.
HTTP request
GET https://logging.api.cloud.yandex.net/logging/v1/logGroups/{logGroupId}/stats
Path parameters
Parameter | Description |
---|---|
logGroupId | Required. ID of the log group to return stats for. To get a log group ID make a list request. 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. |