Cloud Logging Service, REST: LogGroup.listResources
Written by
Updated at May 26, 2023
Retrieves the resources (type and IDs) in the specified log group.
HTTP request
GET https://logging.api.cloud.yandex.net/logging/v1/logGroups/{logGroupId}:listResources
Path parameters
Parameter | Description |
---|---|
logGroupId | Required. ID of the log group to list resources for. To get a log group ID make a list request. The maximum string length in characters is 64. |
Query parameters
Parameter | Description |
---|---|
type | Resource type to return resources for. If not specified, The maximum string length in characters is 256. |
Response
HTTP Code: 200 - OK
{
"resources": [
{
"type": "string",
"ids": [
"string"
]
}
]
}
Field | Description |
---|---|
resources[] | object List of resources present in log group. |
resources[]. type |
string Resource type. Collected from log entries inside log group. |
resources[]. ids[] |
string List of resource IDs with the same resource type. |