Amazon S3
The Amazon S3 data stream enables DXA to deliver session and pageview data to an Amazon S3 bucket every night.
Required user policies
The following IAM user policies must be created in Amazon S3 to enable the data stream:
- s3:ListBucket
- s3:PutObject
- s3:GetObject
- s3:DeleteObject
- s3:HeadBucket
Configuring the Amazon S3 data stream
To enable the Amazon S3 data stream:
On the navigation bar, go to Connect > Data Streams > Configure Data Streams > Cloud Storage > Amazon S3.
Under Amazon S3, select Amazon S3 Integration Enabled.
The following settings appear:
Setting | Description |
---|---|
Data type | Select the type of experience data you want to deliver to Amazon S3 every night. The following options are available:
|
Schema version | Select a schema to define the data fields available in the session and pageview data sets to be delivered to Amazon S3. Note: Learn more: Web Schema v7 |
Custom pageview fields | If necessary, select additional pageview data fields to use alongside the data fields defined in the selected Schema version. |
Custom session fields | If necessary, select additional session data fields to use alongside the data fields defined in the selected Schema version. |
Session Track Event | Select a session track event for delivery to Amazon S3. |
Pageview Track Event | Select a pageview track event for delivery to Amazon S3. |
Segment | Select a segment for delivery to Amazon S3. |
Output type | Select the file type to export session or pageview data for delivery to Amazon S3. |
Frequency | Select how frequently DXA exports data to the Amazon S3 bucket. |
Export hour | Select the hour to export session or pageview data every day. |
Export period | Select the period to export session or pageview data from. The following periods are available:
|
Timezone identifier | Select your timezone. |
Output filename | Enter a filename to give exported session or pageview data. Use one of the following uppercase character combinations to provide a variable date convention:
|
Use temporary filename | If necessary, select this option to send session or pageview data to a temporary TMP file until the export process completes. This setting is recommended for high-traffic properties. Note: You must create the s3:DeleteObject IAM user policy in Amazon S3 to use this setting. |
ZIP files to Archive | If necessary, select this option to deliver session or pageview data to Amazon S3 in one ZIP file instead of 24 individual files for each hour of the day. |
ZIP Archive filename | If you selected ZIP files to Archive, enter the filename to give the ZIP file. Use one of the following uppercase character combinations to provide a variable date convention:
|
Date for the archive filename | If you selected ZIP files to Archive, select a date convention to use in the ZIP file name. The following options are available:
|
Archive encoding | If you selected ZIP files to Archive, select the encoding type to use for the ZIP file. |
Amazon S3 Integration Enabled | Select this option to view all settings and integrate Amazon S3 with Decibel. |
Access Key | Enter the Amazon S3 access key. |
Secret Key | Enter the Amazon S3 secret key. |
Bucket | Enter the name of the Amazon S3 bucket. |
Region | Enter the name of the Amazon S3 region. |
To save changes and integrate with DXA, click Save.