Skip to content

/AWS1/CL_S3_PARTITIONEDPREFIX

Amazon S3 keys for log objects are partitioned in the following format:

[DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]

PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_partitiondatesource TYPE /AWS1/S3_PARTITIONDATESOURCE /AWS1/S3_PARTITIONDATESOURCE

Specifies the partition date source for the partitioned prefix. PartitionDateSource can be EventTime or DeliveryTime.

For DeliveryTime, the time in the log file names corresponds to the delivery time for the log files.

For EventTime, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.


Queryable Attributes

PartitionDateSource

Specifies the partition date source for the partitioned prefix. PartitionDateSource can be EventTime or DeliveryTime.

For DeliveryTime, the time in the log file names corresponds to the delivery time for the log files.

For EventTime, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.

Accessible with the following methods

Method Description
GET_PARTITIONDATESOURCE() Getter for PARTITIONDATESOURCE, with configurable default
ASK_PARTITIONDATESOURCE() Getter for PARTITIONDATESOURCE w/ exceptions if field has no
HAS_PARTITIONDATESOURCE() Determine if PARTITIONDATESOURCE has a value