Cloud Logging Service, gRPC: LogGroupService.Stats
Статья создана
Обновлена 17 октября 2024 г.
Returns stats for the specified log group.
gRPC request
rpc Stats (GetLogGroupStatsRequest) returns (GetLogGroupStatsResponse)
GetLogGroupStatsRequest
{
"logGroupId": "string"
}
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. |
GetLogGroupStatsResponse
{
"logGroupId": "string",
"bytes": "int64",
"records": "int64"
}
Field |
Description |
logGroupId |
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. |