Cloud CDN API, REST: RawLogs.get
HTTP request
GET https://cdn.api.cloud.yandex.net/cdn/v1/rawLogs/{resourceId}
Path parameters
Parameter | Description |
---|---|
resourceId | Required. ID of CDN resource to request status and settings. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"status": "string",
"settings": {
"bucketName": "string",
"bucketRegion": "string",
"filePrefix": "string"
}
}
Field | Description |
---|---|
status | string Raw logs status. Provider side statuses of Raw logs processing.
|
settings | object Raw logs settings. User settings for Raw logs. |
settings. bucketName |
string Required. Destination S3 bucket name, note that the suer should be owner of the bucket. The maximum string length in characters is 1024. |
settings. bucketRegion |
string Bucket region, unused for now, could be blank. The maximum string length in characters is 50. |
settings. filePrefix |
string file_prefix: prefix each log object name with specified prefix. The prefix makes it simpler for you to locate the log objects. For example, if you specify the prefix value logs/, each log object that S3 creates begins with the logs/ prefix in its key, so pseudo S3 folders could be setup. The maximum string length in characters is 50. |