Basic log data is automatically archived on our servers. As a result, you will always be able to access basic information about your CDN activity data through the Core Reports module. Core reports are available by finding Analytics from within the main menu and then selecting Core Reports. However, you may wish to store more detailed log information or use a third-party tool to analyze your log data. For this reason, we allow you to store log information on CDN storage and/or to deliver them directly to your servers.
Key information:
Log files are not stored on CDN or customer storage by default.
Retain this data by performing the following steps:
Enable raw log file archival to CDN storage.
Determine whether raw log files will also be stored on your own server.
A prerequisite for archiving raw log files to your own server is enabling raw log file archival to CDN storage. If this is undesired, the length of time that raw log files will be stored on CDN storage can be minimized by setting the retention period to 1 day.
To configure log storage options
Perform one of the following:
Enable Log Storage: Perform the following steps:
In the Please keep log files for option, select the amount of time that the log files for each selected platform should be kept.
If you choose "unlimited," then log files will not be automatically deleted from the CDN origin server.
In addition to storing log data on CDN storage, it may also be delivered to your web server via SFTP. Additionally, opt-in to receive email notifications whenever a log file cannot be delivered to your web server.
Due to the security risks inherent to FTP (e.g., authentication via cleartext passwords), log delivery over FTP was discontinued.
A prerequisite for archiving raw log files to your own server is enabling raw log file archival to CDN storage. If this is undesired, the length of time that raw log files will be stored on CDN storage can be minimized by setting the retention period to 1 day.
View information on the file naming convention for archived raw log files.
To configure log file delivery settings
Verify that raw log file storage has been enabled
Perform one of the following:
In the Hostname option, type the hostname or IP address of the server where log files will be archived.
Make sure to exclude protocol information (i.e., sftp://).
In the Directory Path option, type the path to the folder where log files will be archived. This path starts at the root folder of the server specified in the previous step.
Make sure to start this path with a forward slash (e.g., /Logs).
In the Username option, type the name of the user that has SFTP access to the specified server.
Make sure that the specified user has been granted read/write to the folder defined in the Directory Path option.
Determine whether the above user will be authenticated via a password or a private key.
Private Key Authentication: Perform the following steps:
Configure your firewall to allow access to the following subnetworks:
93.184.209.128/25
192.16.62.0/25
192.16.61.128/25
192.229.176.0/24