Skip to content

/AWS1/CL_FNT=>CREATEREALTIMELOGCONFIG()

About CreateRealtimeLogConfig

Creates a real-time log configuration.

After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.

For more information about real-time log configurations, see Real-time logs in the Amazon CloudFront Developer Guide.

Method Signature

IMPORTING

Required arguments:

IT_ENDPOINTS TYPE /AWS1/CL_FNTENDPOINT=>TT_ENDPOINTLIST TT_ENDPOINTLIST

Contains information about the Amazon Kinesis data stream where you are sending real-time log data.

IT_FIELDS TYPE /AWS1/CL_FNTFIELDLIST_W=>TT_FIELDLIST TT_FIELDLIST

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.

IV_NAME TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

A unique name to identify this real-time log configuration.

IV_SAMPLINGRATE TYPE /AWS1/FNTLONG /AWS1/FNTLONG

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNTCREREALTIMELOGCF01 /AWS1/CL_FNTCREREALTIMELOGCF01