Cloud Logging Service, REST: LogGroup.Get
Returns the specified log group.
To get the list of all available log groups, make a List request.
HTTP request
GET https://logging.api.cloud.yandex.net/logging/v1/logGroups/{logGroupId}
Path parameters
Field |
Description |
logGroupId |
string Required field. ID of the log group to return. To get a log group ID make a LogGroupService.List request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"status": "string",
"retentionPeriod": "string",
"dataStream": "string"
}
Field |
Description |
id |
string Log group ID. |
folderId |
string Log group folder ID. |
cloudId |
string Log group cloud ID. |
createdAt |
string (date-time) Log group creation time. String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Log group name. |
description |
string Log group description. |
labels |
object (map<string, string>) Log group labels. |
status |
enum (Status) Status of the log group.
|
retentionPeriod |
string (duration) Log group entry retention period. Entries will be present in group during this period. |
dataStream |
string Data stream name |