[Yandex Cloud documentation](../../../../index.md) > [Yandex Cloud CDN](../../../index.md) > API reference > [gRPC](../index.md) > [RawLogs](index.md) > Get

# Cloud CDN API, gRPC: RawLogsService.Get

Get configuration of raw log export.

## gRPC request

**rpc Get ([GetRawLogsRequest](#yandex.cloud.cdn.v1.GetRawLogsRequest)) returns ([GetRawLogsResponse](#yandex.cloud.cdn.v1.GetRawLogsResponse))**

## GetRawLogsRequest {#yandex.cloud.cdn.v1.GetRawLogsRequest}

```json
{
  "resource_id": "string"
}
```

#|
||Field | Description ||
|| resource_id | **string**

Required field. ID of CDN resource to request status and settings.

The maximum string length in characters is 50. ||
|#

## GetRawLogsResponse {#yandex.cloud.cdn.v1.GetRawLogsResponse}

```json
{
  "status": "RawLogsStatus",
  "settings": {
    "bucket_name": "string",
    "bucket_region": "string",
    "file_prefix": "string"
  }
}
```

#|
||Field | Description ||
|| status | enum **RawLogsStatus**

Raw logs status.

- `RAW_LOGS_STATUS_NOT_ACTIVATED`: Raw logs wasn't activated.
- `RAW_LOGS_STATUS_OK`: Raw logs was activated, and logs storing process works as expected.
- `RAW_LOGS_STATUS_FAILED`: Raw logs was activated, but CDN provider has been failed to store logs.
- `RAW_LOGS_STATUS_PENDING`: Raw logs was activated, but logs storing process is expected. ||
|| settings | **[RawLogsSettings](#yandex.cloud.cdn.v1.RawLogsSettings)**

Raw logs settings. ||
|#

## RawLogsSettings {#yandex.cloud.cdn.v1.RawLogsSettings}

User settings for Raw logs.

#|
||Field | Description ||
|| bucket_name | **string**

Required field. Destination S3 bucket name, note that the suer should be owner of the bucket.

The maximum string length in characters is 1024. ||
|| bucket_region | **string**

Bucket region, unused for now, could be blank.

The maximum string length in characters is 50. ||
|| file_prefix | **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. ||
|#