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:

  • HTTP request
  • Path parameters
  • Response
  • RawLogsSettings
  1. API reference
  2. REST
  3. RawLogs
  4. Get

Cloud CDN API, REST: RawLogs.Get

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Path parameters
  • Response
  • RawLogsSettings

HTTP requestHTTP request

GET https://cdn.api.cloud.yandex.net/cdn/v1/rawLogs/{resourceId}

Path parametersPath parameters

Field

Description

resourceId

string

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

ResponseResponse

HTTP Code: 200 - OK

{
  "status": "string",
  "settings": {
    "bucketName": "string",
    "bucketRegion": "string",
    "filePrefix": "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

bucketName

string

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

bucketRegion

string

Bucket region, unused for now, could be blank.

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.

Was the article helpful?

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