Configuring log export
Log export is a paid function. See Yandex Cloud CDN pricing policy for billing information.
Enabling export
To enable log export for a resource:
-
In the management console
, select the folder where your resource is located. -
Select Cloud CDN.
-
Click the resource name.
-
Go to the Export logs tab.
-
In the top-right corner, click Activate.
-
Select Bucket.
-
(Optional) Specify a Prefix for log file names.
-
Click Activate.
Use the activate REST API method for the RawLogs resource or the RawLogsService/Activate gRPC API call.
Once enabled, the export status will change from NOT_ACTIVATED
to OK
.
If the status is FAIL
, the service does not export logs. Contact support
Editing export
To edit export parameters:
-
In the management console
, select the folder where your resource is located. -
Select Cloud CDN.
-
Click the resource name.
-
Go to the Export logs tab.
-
In the top-right corner, click
Edit. -
Enter the required parameters and click Save.
Use the update REST API method for the RawLogs resource or the RawLogsService/Update gRPC API call.
Deactivating export
To disable export:
-
In the management console
, select the folder where your resource is located. -
Select Cloud CDN.
-
Click the resource name.
-
Go to the Export logs tab.
-
In the top-right corner, click Deactivate.
Use the deactivate REST API method for the RawLogs resource or the RawLogsService/Deactivate gRPC API call.