Cloud Logging Service, REST: Export.list
Retrieves the list of exports in the specified folder.
HTTP request
GET https://logging.api.cloud.yandex.net/logging/v1/exports
Query parameters
Parameter | Description |
---|---|
folderId | Required. Folder ID of the exports to return. To get a folder ID make a list request. The maximum string length in characters is 64. |
pageSize | The maximum number of results per page to return. If the number of available results is larger than Default value: 100. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
filter | A filter expression that filters exports listed in the response. The expression must specify:
The maximum string length in characters is 1000. |
Response
HTTP Code: 200 - OK
{
"exports": [
{
"id": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"groupId": "string",
"sinkId": "string",
"params": {
"resourceTypes": [
"string"
],
"resourceIds": [
"string"
],
"streamNames": [
"string"
],
"levels": [
"string"
],
"filter": "string"
}
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
exports[] | object List of exports in the specified folder. |
exports[]. id |
string Export ID. |
exports[]. folderId |
string Export folder ID. |
exports[]. cloudId |
string Export cloud ID. |
exports[]. createdAt |
string (date-time) Export 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). |
exports[]. name |
string Export name. |
exports[]. description |
string Export description. |
exports[]. labels |
object Export lables. |
exports[]. groupId |
string Group logs are exported from. |
exports[]. sinkId |
string Sink logs are exported to. |
exports[]. params |
object Parameters of logs filtration. |
exports[]. params. resourceTypes[] |
string The maximum number of elements is 100. The maximum string length in characters for each value is 63. |
exports[]. params. resourceIds[] |
string The maximum number of elements is 100. The maximum string length in characters for each value is 63. |
exports[]. params. streamNames[] |
string The maximum number of elements is 100. The maximum string length in characters for each value is 63. |
exports[]. params. levels[] |
string The maximum number of elements is 10.
|
exports[]. params. filter |
string The maximum string length in characters is 1000. |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use Each subsequent page will have its own |