Cloud Logging Service, REST: Export.Get
Returns the specified export.
To get the list of all available exports, make a List request.
HTTP request
GET https://logging.api.cloud.yandex.net/logging/v1/exports/{exportId}
Path parameters
Field |
Description |
exportId |
string Required field. ID of the export to return. To get a export ID make a ExportService.List request. |
Response
HTTP Code: 200 - OK
{
"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"
}
}
Field |
Description |
id |
string Export ID. |
folderId |
string Export folder ID. |
cloudId |
string Export cloud ID. |
createdAt |
string (date-time) Export creation time. String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Export name. |
description |
string Export description. |
labels |
object (map<string, string>) Export lables. |
groupId |
string Group logs are exported from. |
sinkId |
string Sink logs are exported to. |
params |
Parameters of logs filtration. |
ExportParams
Field |
Description |
resourceTypes[] |
string |
resourceIds[] |
string |
streamNames[] |
string |
levels[] |
enum (Level)
|
filter |
string |