Cloud Logging Service, gRPC: LogGroupService.Stats
Статья создана
Обновлена 26 ноября 2024 г.
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. To get a log group ID make a LogGroupService.List request. |
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. |