Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud CDN
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Activate
        • Deactivate
        • Get
        • Update
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting

In this article:

  • gRPC request
  • GetRawLogsRequest
  • GetRawLogsResponse
  • RawLogsSettings
  1. API reference
  2. gRPC
  3. RawLogs
  4. Get

Cloud CDN API, gRPC: RawLogsService.Get

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • GetRawLogsRequest
  • GetRawLogsResponse
  • RawLogsSettings

gRPC requestgRPC request

rpc Get (GetRawLogsRequest) returns (GetRawLogsResponse)

GetRawLogsRequestGetRawLogsRequest

{
  "resource_id": "string"
}

Field

Description

resource_id

string

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

GetRawLogsResponseGetRawLogsResponse

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

Field

Description

status

enum RawLogsStatus

Raw logs status.

  • RAW_LOGS_STATUS_UNSPECIFIED
  • 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

Raw logs settings.

RawLogsSettingsRawLogsSettings

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.

bucket_region

string

Bucket region, unused for now, could be blank.

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.

Was the article helpful?

Previous
Deactivate
Next
Update
© 2025 Direct Cursus Technology L.L.C.