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
Parameter | Description |
---|---|
logGroupId | Required. ID of the log group to return. To get a log group ID make a list request. The maximum string length in characters is 64. |
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 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Log group name. |
description | string Log group description. |
labels | object Log group labels. |
status | string Status of the log group. Possible log group statuses.
Should never occur. - CREATING: Log group is creating.
|
retentionPeriod | string Log group entry retention period. Entries will be present in group during this period. |
dataStream | string Data stream name |