Cloud Logging Service, gRPC: LogGroupService.Stats
Written by
Updated at July 1, 2026
Returns stats for the specified log group.
gRPC request
rpc Stats (GetLogGroupStatsRequest) returns (GetLogGroupStatsResponse)
GetLogGroupStatsRequest
{
"log_group_id": "string"
}
|
Field |
Description |
|
log_group_id |
string Required field. ID of the log group to return stats for. The maximum string length in characters is 64. |
GetLogGroupStatsResponse
{
"log_group_id": "string",
"bytes": "int64",
"records": "int64"
}
|
Field |
Description |
|
log_group_id |
string Log group ID the stats are returned for. |
|
bytes |
int64 Size of data in log group in bytes. |
|
records |
int64 Amount of records in log group. |