View source: R/cloudfront_operations.R
cloudfront_create_realtime_log_config | R Documentation |
Creates a real-time log configuration.
See https://www.paws-r-sdk.com/docs/cloudfront_create_realtime_log_config/ for full documentation.
cloudfront_create_realtime_log_config(EndPoints, Fields, Name, SamplingRate)
EndPoints |
[required] Contains information about the Amazon Kinesis data stream where you are sending real-time log data. |
Fields |
[required] A list of fields to include in each real-time log record. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide. |
Name |
[required] A unique name to identify this real-time log configuration. |
SamplingRate |
[required] The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.